mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-23 02:51:39 +01:00
footer: implement user-defined copyright (#23)
This commit is contained in:
parent
6a9e9e129a
commit
c2c32282c1
@ -1,5 +1,9 @@
|
|||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
|
{{- if .Site.Copyright }}
|
||||||
|
<span>{{ .Site.Copyright | markdownify }}</span>
|
||||||
|
{{- else }}
|
||||||
<span>© {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a></span>
|
<span>© {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a></span>
|
||||||
|
{{- end }}
|
||||||
<span>·</span>
|
<span>·</span>
|
||||||
<span>Powered by <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo️️</a>️</span>
|
<span>Powered by <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo️️</a>️</span>
|
||||||
<span>·</span>
|
<span>·</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user