Allow section titles to be hidden inline (#24)
* Allow section titles to be hidden within the section themselves * Show sections in footer to match navbar
This commit is contained in:
parent
2936164cc1
commit
a83b1c5658
12 changed files with 27 additions and 8 deletions
|
@ -6,7 +6,7 @@
|
|||
{{ if .Site.Data.sections }}
|
||||
<ul>
|
||||
{{- range sort .Site.Data.sections "section.weight" }}
|
||||
{{ if .section.enable }}
|
||||
{{ if and (.section.enable) (.section.showOnNavbar)}}
|
||||
<li class="nav-item">
|
||||
<a class="smooth-scroll" href="#{{ replace (lower .section.name) " " "-" }}">{{ .section.name }}</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue