Fix-12 Hide unused sections if they are not defined in yaml
This commit is contained in:
parent
fb7b04dc93
commit
2a334d5eef
5 changed files with 11 additions and 10 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue