add / to change URL in Navigation in footer (#41)
This commit is contained in:
parent
08420ca095
commit
4eadb8ee2c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
{{- range sort .Site.Data.sections "section.weight" }}
|
{{- range sort .Site.Data.sections "section.weight" }}
|
||||||
{{ if and (.section.enable) (.section.showOnNavbar)}}
|
{{ if and (.section.enable) (.section.showOnNavbar)}}
|
||||||
<li class="nav-item">
|
<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>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue