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.skills }}
|
||||
<div class="container-fluid skills bg-dimmed anchor pb-5" id="skills">
|
||||
{{ if .Site.Data.skills }}
|
||||
<h1 class="text-center">Skills</h1>
|
||||
|
||||
<div class="container d-flex-block">
|
||||
|
@ -9,5 +9,5 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue