adding safeHTML on .Site.Params.copyright

This commit is contained in:
Ricardo Tun 2018-06-04 13:31:08 -05:00
parent f1524dd1dc
commit 4a0dd77a0b

View file

@ -11,7 +11,7 @@
<p> <p>
{{ partial "sidebar_social.html" . }} {{ partial "sidebar_social.html" . }}
</p> </p>
<p class="copyright">{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{ now.Format "2006"}} {{.Site.Params.author}}. <p class="copyright">{{ with .Site.Params.copyright }}{{.|safeHTML}}{{ else }}&copy; {{ now.Format "2006"}} {{.Site.Params.author}}.
<a href="https://creativecommons.org/licenses/by/4.0">Some Rights Reserved</a>.<br/>Built with <a href="https://gohugo.io/">Hugo</a> &amp; <a href="https://github.com/htr3n/hyde-hyde">hyde-hyde</a>.{{end}} <a href="https://creativecommons.org/licenses/by/4.0">Some Rights Reserved</a>.<br/>Built with <a href="https://gohugo.io/">Hugo</a> &amp; <a href="https://github.com/htr3n/hyde-hyde">hyde-hyde</a>.{{end}}
</p> </p>
</div> </div>