Skip to content

Commit

Permalink
Merge pull request #20 from sm32d/patch-1
Browse files Browse the repository at this point in the history
Fixed footer to show copyright from site.params.copyright as in config
  • Loading branch information
mirus-ua authored Oct 2, 2024
2 parents 17c236d + c9e3c82 commit fab58b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<footer class="footer">
<div class="footer__inner">
{{ if $.Site.Copyright }}
{{ if $.Site.Params.Copyright }}
<div class="copyright copyright--user">
<span>{{ $.Site.Copyright | safeHTML }}</span>
<span>{{ $.Site.Params.Copyright | safeHTML }}</span>
{{ else }}
<div class="copyright">
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span>
Expand Down

0 comments on commit fab58b1

Please sign in to comment.