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

github.com/danielkvist/hugo-piercer-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sections.html')
-rw-r--r--layouts/partials/sections.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sections.html b/layouts/partials/sections.html
index 986eee0..77b8d6e 100644
--- a/layouts/partials/sections.html
+++ b/layouts/partials/sections.html
@@ -18,7 +18,7 @@
{{ end }}
-<section class="section bkg-image" id="{{ .Title }}" style="{{ safeCSS $bkg }} {{ safeCSS $bc }}">
+<section class="section bkg-image" id="{{ .Title | anchorize }}" style="{{ safeCSS $bkg }} {{ safeCSS $bc }}">
<h1 class="section__title">{{ .Title }}</h1>
{{ .Content }}
</section>