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:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/sections.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/sections.html b/layouts/partials/sections.html
index d847fb5..09c9ab8 100644
--- a/layouts/partials/sections.html
+++ b/layouts/partials/sections.html
@@ -1,11 +1,11 @@
{{ range . }}
{{ if .Sections }}
- <li><a data-filter="{{ .Params.id }}">{{ title .Title }}</a>
+ <li><a href="#{{ .Params.id }}" data-filter="{{ .Params.id }}">{{ title .Title }}</a>
<ul>
{{ partial "sections.html" .Sections }}
</ul>
</li>
{{ else }}
- <li><a data-filter="{{ .Params.id }}">{{ title .Title }}</a></li>
+ <li><a href="#{{ .Params.id }}" data-filter="{{ .Params.id }}">{{ title .Title }}</a></li>
{{ end }}
{{ end }}