Added option to add custom titles to sections
This commit is contained in:
@@ -141,6 +141,7 @@ params:
|
||||
# Experience
|
||||
experience:
|
||||
enable: true
|
||||
# title: "Custom Name"
|
||||
items:
|
||||
- job: "Senior Software Developer"
|
||||
company: "Facebook"
|
||||
@@ -205,6 +206,7 @@ params:
|
||||
# Education
|
||||
education:
|
||||
enable: true
|
||||
# title: "Custom Name"
|
||||
# index: true
|
||||
items:
|
||||
- title: "Master of Business Administration"
|
||||
@@ -247,6 +249,7 @@ params:
|
||||
# Achievements
|
||||
achievements:
|
||||
enable: true
|
||||
# title: "Custom Name"
|
||||
items:
|
||||
- title: Google kickstart runner
|
||||
content: I solved all problems with optimal solution.
|
||||
@@ -265,6 +268,7 @@ params:
|
||||
# projects
|
||||
projects:
|
||||
enable: true
|
||||
# title: "Custom Name"
|
||||
items:
|
||||
- title: Hugo Profile
|
||||
content: A highly customizable and mobile first Hugo template for personal portfolio and blog.
|
||||
@@ -314,6 +318,7 @@ params:
|
||||
#Contact
|
||||
contact:
|
||||
enable: true
|
||||
#title: "Custom name"
|
||||
content: My inbox is always open. Whether you have a question or just want to say hi, I’ll try my best to get back to you!
|
||||
email: [email protected]
|
||||
btnName: Mail me
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ if .Site.Params.achievements.enable | default false }}
|
||||
<section id="achievements" class="py-5">
|
||||
<div class="container">
|
||||
<h3 class="text-center">Achievements</h3>
|
||||
<h3 class="text-center">{{ .Site.Params.achievements.title | default "Achievements" }}</h3>
|
||||
<div class="px-0 px-md-5 px-lg-5">
|
||||
<div class="row justify-content-center px-3 px-md-5 px-lg-5">
|
||||
{{ range .Site.Params.achievements.items }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ if .Site.Params.contact.enable | default false }}
|
||||
<section id="contact" class="py-5">
|
||||
<div class="container">
|
||||
<h3 class="text-center">Get In Touch</h3>
|
||||
<h3 class="text-center">{{ .Site.Params.contact.title | default "Get in Touch" }}</h3>
|
||||
<div class="px-0 px-md-5 px-lg-5">
|
||||
<div class="row justify-content-center px-md-5">
|
||||
<div class="col-md-8 py-3">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ if .Site.Params.education.enable | default false }}
|
||||
<section id="education" class="py-5">
|
||||
<div class="container">
|
||||
<h3 class="text-center">Education</h3>
|
||||
<h3 class="text-center">{{ Site.Params.education.title | default "Education" }}</h3>
|
||||
<div class="row justify-content-center py-5">
|
||||
{{ $indexMenu := .Site.Params.education.index }}
|
||||
{{ range $index, $element := .Site.Params.education.items }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ if .Site.Params.experience.enable | default false }}
|
||||
<section id="experience" class="py-5">
|
||||
<div class="container">
|
||||
<h3 class="text-center">Experience</h3>
|
||||
<h3 class="text-center">{{ .Site.Params.experience.title | default "Experience" }}</h3>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-sm-12 col-md-8 col-lg-8 py-5">
|
||||
<div class="experience-container px-3 pt-2">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ if .Site.Params.projects.enable | default false }}
|
||||
<section id="projects" class="py-5">
|
||||
<div class="container">
|
||||
<h3 class="text-center">Projects</h3>
|
||||
<h3 class="text-center">{{ .Site.Params.projects.title | default "Projects" }}</h3>
|
||||
<div class="row justify-content-center px-3 px-md-5">
|
||||
{{ range .Site.Params.projects.items }}
|
||||
<div class="col-lg-4 col-md-6 my-3">
|
||||
|
||||
Reference in New Issue
Block a user