Adopt upstream footer changes

This commit is contained in:
Conlan Cesar 2023-11-18 23:17:00 -05:00
parent f2b1a0536f
commit 0fe42110a3

View File

@ -1,13 +1,14 @@
{{- if not (.Param "hideFooter") }}
<footer class="footer"> <footer class="footer">
{{- if .Site.Copyright }} {{- if site.Copyright }}
<span id="copyright">{{ default .Site.Copyright | markdownify }}</span> <span>{{ site.Copyright | markdownify }}</span>
{{- else }} {{- else }}
<span id="copyright">&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ default .Site.Title (.Param "formalName") }}</a></span> <span>&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ site.Title }}</a></span>
{{- end }} {{- end }}
<span id="poweredBy"> <span>
Powered by Powered by
<a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> &
<a href="https://git.io/hugopapermod" rel="noopener" target="_blank">PaperMod</a> <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a>
</span> </span>
</footer> </footer>
{{- end }}