Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl <37927715+al-haras@users.noreply.github.com>2020-07-16 07:26:59 +0300
committerGitHub <noreply@github.com>2020-07-16 07:26:59 +0300
commit4eadb8ee2c96cb6f1a005de38b116a208a07848d (patch)
treea22d1d0005134851c043838e0d860592d0df18d4 /layouts/partials
parent08420ca095e5ea3dbb1b94ddd4030e6d7941b46b (diff)
add / to change URL in Navigation in footer (#41)
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html2
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 }}