mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-15 10:49:00 +03:00
Fix attribution if copyright is set by user.
This commit is contained in:
parent
24e901f460
commit
2bb48d5952
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue