mirror of
https://github.com/christian1701/hugo-theme-console.git
synced 2025-11-02 13:39:23 +01:00
Add copyright to footer
This commit is contained in:
@@ -1,4 +1,19 @@
|
||||
<div class="footer">
|
||||
{{/* Copyright */}}
|
||||
{{ if .Site.Params.footer.showCopyright | default true }}
|
||||
<p class="text-sm text-neutral-500 dark:text-neutral-400">
|
||||
{{- with .Site.Params.copyright }}
|
||||
{{ . | emojify | markdownify }}
|
||||
{{- else }}
|
||||
©
|
||||
{{ now.Format "2006" }}
|
||||
{{ .Site.Author.name | markdownify | emojify }}
|
||||
{{- end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
{{/* Theme attribution */}}
|
||||
{{ if .Site.Params.footer.showThemeAttribution | default true }}
|
||||
Powered by <a href="https://gohugo.io/">Hugo</a> with
|
||||
<a href="https://github.com/mrmierzejewski/hugo-theme-console/">Console Theme</a>.
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user