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>
|
||||
|
|
Loading…
Reference in New Issue