29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
|
<footer class="py-10">
|
||
|
<div class="text-center">
|
||
|
{{/* Copyright */}}
|
||
|
<p class="text-sm text-neutral-500 dark:text-neutral-400">
|
||
|
{{- with .Site.Copyright }}
|
||
|
{{ . | emojify | markdownify }}
|
||
|
{{- else }}
|
||
|
©
|
||
|
{{ now.Format "2006" }}
|
||
|
{{ .Site.Author.name | markdownify | emojify }}
|
||
|
{{- end }}
|
||
|
</p>
|
||
|
{{/* Theme attribution */}}
|
||
|
{{ if .Site.Params.attribution | default true }}
|
||
|
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
||
|
{{ $hugo := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||
|
href="https://gohugo.io/" target="_blank" rel="noopener noreferrer">Hugo</a>`
|
||
|
}}
|
||
|
{{ $lynx := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://git.io/hugo-lynx" target="_blank" rel="noopener noreferrer">Lynx</a>` }}
|
||
|
{{ i18n "footer.powered_by" (dict "Hugo" $hugo "Lynx" $lynx) | safeHTML }}
|
||
|
</p>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
{{/* Extend footer - eg. for extra scripts, etc. */}}
|
||
|
{{ if templates.Exists "partials/extend-footer.html" }}
|
||
|
{{ partialCached "extend-footer.html" . }}
|
||
|
{{ end }}
|
||
|
</footer>
|