Fix attribution if copyright is set by user.

This commit is contained in:
Moritz Fago 2019-03-22 01:08:31 +01:00 committed by Moritz
parent 24e901f460
commit 2bb48d5952

View File

@ -1,13 +1,14 @@
<footer class="footer">
<div class="footer__inner">
{{ if $.Site.Copyright }}
<div class="copyright copyright--user">{{ $.Site.Copyright | safeHTML }}</div>
<div class="copyright copyright--user">
<span>{{ $.Site.Copyright | safeHTML }}</span>
{{else}}
<div class="copyright">
<span>© {{ now.Year }} Powered by <a href="http://gohugo.io">Hugo</a></span>
{{end}}
<span>:: Theme made by <a href="https://twitter.com/panr">panr</a></span>
</div>
{{end}}
</div>
</footer>