Merge branch 'author-master'

This commit is contained in:
Pau Trepat Segura 2020-07-18 21:18:37 +02:00
commit 5a22eee2e9

View file

@ -8,7 +8,7 @@
{{- range sort .Site.Data.sections "section.weight" }}
{{ if and (.section.enable) (.section.showOnNavbar)}}
<li class="nav-item">
<a class="smooth-scroll" href="#{{ replace (lower .section.name) " " "-" }}">{{ .section.name }}</a>
<a class="smooth-scroll" href="/#{{ replace (lower .section.name) " " "-" }}">{{ .section.name }}</a>
</li>
{{ end }}
{{- end }}