diff options
author | Romain Bazile <gromain.baz@gmail.com> | 2019-09-10 18:33:06 +0300 |
---|---|---|
committer | Daniel <danielkvist@protonmail.com> | 2019-09-10 20:44:18 +0300 |
commit | b42c763906ab63e0c4d633deb52a98f9f99fca01 (patch) | |
tree | 8e30e8a7487eb0e612fe0cd0d234137668799513 | |
parent | 3b1efd8c13f6aa534f95892af76b488c450703ab (diff) |
sections.html: add anchorize call to change id links
-rw-r--r-- | layouts/partials/sections.html | 2 |
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> |