Merge pull request #72 from MoritzFago/fix-atribution
Fix attribution if copyright is set by user.
This commit is contained in:
commit
8d8e93fa8d
@ -1,13 +1,14 @@
|
|||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
{{ if $.Site.Copyright }}
|
{{ if $.Site.Copyright }}
|
||||||
<div class="copyright copyright--user">{{ $.Site.Copyright | safeHTML }}</div>
|
<div class="copyright copyright--user">
|
||||||
|
<span>{{ $.Site.Copyright | safeHTML }}</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
<span>© {{ now.Year }} Powered by <a href="http://gohugo.io">Hugo</a></span>
|
<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>
|
<span>:: Theme made by <a href="https://twitter.com/panr">panr</a></span>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user