Allow section titles to be configured to match menu items

This commit is contained in:
Jason Tipton 2020-06-28 13:44:20 -08:00
parent df67dee343
commit 8420b99577
8 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,5 @@
# Your achievements achievements # Your achievements achievements
title: Achievements
achievements: achievements:
- title: Best Presenter - title: Best Presenter
image: images/achievements/presenter.jpg image: images/achievements/presenter.jpg

View file

@ -1,4 +1,5 @@
# Your experiences # Your experiences
title: Experience
experiences: experiences:
- designation: Software Engineer - designation: Software Engineer
company: company:

View file

@ -1,4 +1,6 @@
# filter buttons # filter buttons
title: Projects
buttons: buttons:
- name: All - name: All
filter: "all" filter: "all"

View file

@ -26,7 +26,7 @@ menus:
- name: Skills - name: Skills
url: "#skills" url: "#skills"
weight: 3 weight: 3
- name: Experiences - name: Experience
url: "#experiences" url: "#experiences"
weight: 4 weight: 4
- name: Projects - name: Projects

View file

@ -1,6 +1,6 @@
<div class="container-fluid achievements bg-dimmed anchor pb-5" id="achievements"> <div class="container-fluid achievements bg-dimmed anchor pb-5" id="achievements">
{{ if .Site.Data.achievements }} {{ if .Site.Data.achievements }}
<h1 class="text-center">Achievements</h1> <h1 class="text-center">{{ .Site.Data.achievement.title }}</h1>
<div class="container"> <div class="container">
<div class="row" id="gallery"> <div class="row" id="gallery">

View file

@ -1,6 +1,6 @@
<div class="container-fluid experiences bg-white anchor" id="experiences"> <div class="container-fluid experiences bg-white anchor" id="experiences">
{{ if .Site.Data.experiences }} {{ if .Site.Data.experiences }}
<h1 class="text-center">Experiences</h1> <h1 class="text-center">{{ .Site.Data.experiences.title }}</h1>
<div class="container timeline text-justify"> <div class="container timeline text-justify">
{{ $totalExperiences:= len .Site.Data.experiences.experiences }} {{ $totalExperiences:= len .Site.Data.experiences.experiences }}

View file

@ -1,6 +1,6 @@
<div class="container-fluid projects bg-dimmed anchor pb-5" id="projects"> <div class="container-fluid projects bg-dimmed anchor pb-5" id="projects">
{{ if .Site.Data.projects }} {{ if .Site.Data.projects }}
<h1 class="text-center">Projects</h1> <h1 class="text-center">{{ .Site.Data.projects.title }}</h1>
<div class="container ml-auto text-center"> <div class="container ml-auto text-center">
<div class="btn-group flex-wrap" role="group" id="project-filter-buttons"> <div class="btn-group flex-wrap" role="group" id="project-filter-buttons">
{{ range .Site.Data.projects.buttons }} {{ range .Site.Data.projects.buttons }}

View file

@ -1,6 +1,6 @@
<div class="container-fluid skills bg-dimmed anchor pb-5" id="skills"> <div class="container-fluid skills bg-dimmed anchor pb-5" id="skills">
{{ if .Site.Data.skills }} {{ if .Site.Data.skills }}
<h1 class="text-center">Skills</h1> <h1 class="text-center">{{ .Site.Data.skills.title }}</h1>
<div class="container d-flex-block"> <div class="container d-flex-block">
<div class="row" id="primary-skills"> <div class="row" id="primary-skills">