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>
|
||||||
|
@ -62,4 +66,4 @@
|
||||||
<script>
|
<script>
|
||||||
localStorage.removeItem("pref-theme");
|
localStorage.removeItem("pref-theme");
|
||||||
</script>
|
</script>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue