Fix-12 Hide unused sections if they are not defined in yaml

This commit is contained in:
Jason Tipton 2020-06-26 19:14:39 -08:00
parent fb7b04dc93
commit 2a334d5eef
5 changed files with 11 additions and 10 deletions

View file

@ -1,5 +1,5 @@
{{ if .Site.Data.experiences }}
<div class="container-fluid experiences bg-white anchor" id="experiences">
{{ if .Site.Data.experiences }}
<h1 class="text-center">Experiences</h1>
<div class="container timeline text-justify">
@ -21,5 +21,5 @@
{{ end }}
{{ end }}
</div>
{{ end }}
</div>
{{ end }}