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

github.com/JugglerX/hugo-whisper-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujiHaruka <fizzyjohn1427@gmail.com>2019-08-04 12:03:08 +0300
committerFujiHaruka <fizzyjohn1427@gmail.com>2019-08-04 12:03:08 +0300
commit15d306cf147061e4ff65d7ceedee72acac007c53 (patch)
treebe73535ca6618db4464006f189add883948d2111 /layouts
parentd39f310357f1f1322f7244ed03d6acc520e37958 (diff)
Enable to add anchor to header elements
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 3c930e1..67d1129 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,7 +4,7 @@
{{ define "main" }}
<h1 class="title">{{.Title}}</h1>
-<div class="content">
+<div class="content {{if .Site.Params.enable_anchor_link}}{{ "anchor-link-enabled" }}{{ end }}">
{{.Content}}
</div>
</div>