compose-theme/layouts/partials/footer.html

16 lines
452 B
HTML
Raw Normal View History

2024-07-26 17:08:59 +02:00
{{- $config := site.Params }}
{{- $author := $config.author }}
<footer class="pt-2 pb-2">
<div class="wrap">
<p>
&copy; <span class="year">{{ now.Year }}</span>
{{- if $config.enableCopyright }}
{{ with $author }}
<a href="{{ absLangURL .url }}" target="_blank" rel="noopener">{{ .name }}</a>
{{ end }}
{{ end }}
</p>
<a href="#pagetop" id="toTop" title={{ T "to_top" }}></a>
</div>
</footer>