diff options
author | Al <37927715+al-haras@users.noreply.github.com> | 2020-07-16 07:26:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 07:26:59 +0300 |
commit | 4eadb8ee2c96cb6f1a005de38b116a208a07848d (patch) | |
tree | a22d1d0005134851c043838e0d860592d0df18d4 /layouts | |
parent | 08420ca095e5ea3dbb1b94ddd4030e6d7941b46b (diff) |
add / to change URL in Navigation in footer (#41)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 77693ce..3d53e0e 100644 --- a/layouts/partials/footer.html +++ b/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 }} |