safeHTML used for header, footer and content titles
This commit is contained in:
parent
62c402673b
commit
4902a83bfd
3 changed files with 9 additions and 6 deletions
|
|
@ -1,14 +1,16 @@
|
|||
<footer class="site-footer">
|
||||
<div class="inner">
|
||||
{{ with .Site.Params.copyright }}
|
||||
<section class="copyright">{{ . | markdownify }}</section>{{ end }}
|
||||
|
||||
<section class="copyright">{{ . | safeHTML }}</section>
|
||||
{{ end }}
|
||||
|
||||
<section>{{ echoParam .Site.Params "hidebyline" }}</section>
|
||||
|
||||
{{ if ne .Site.Params.hidedesignbyline true }}
|
||||
<section>
|
||||
<a href="https://themes.gohugo.io/hugo-scroll/">Hugo Scroll</a> template
|
||||
</section>{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue