Ver Fonte

add / to change URL in Navigation in footer (#41)

Al há 4 anos atrás
pai
commit
4eadb8ee2c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      layouts/partials/footer.html

+ 1 - 1
layouts/partials/footer.html

@@ -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 }}