implement copyright config option

This commit is contained in:
Kian Kasad
2020-10-04 20:46:09 -07:00
parent 6a9e9e129a
commit 38117c47bc

View File

@ -1,5 +1,9 @@
<footer class="footer">
{{- if .Site.Copyright }}
<span>{{ .Site.Copyright | markdownify }}</span>
{{- else }}
<span>&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a></span>
{{- end }}
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a></span>
<span>&middot;</span>