Added option to add custom titles to sections
This commit is contained in:
@@ -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