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