Merge pull request #20 from sm32d/patch-1
Fixed footer to show copyright from site.params.copyright as in config
This commit is contained in:
commit
fab58b1697
@ -1,8 +1,8 @@
|
|||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
{{ if $.Site.Copyright }}
|
{{ if $.Site.Params.Copyright }}
|
||||||
<div class="copyright copyright--user">
|
<div class="copyright copyright--user">
|
||||||
<span>{{ $.Site.Copyright | safeHTML }}</span>
|
<span>{{ $.Site.Params.Copyright | safeHTML }}</span>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span>
|
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||||
|
Loading…
Reference in New Issue
Block a user