archie-shades-of-purple/layouts/partials/footer.html
Oscar Aurin 40f4c2d422 Fix compatibility with Hugo v0.125.0
`google_analytics_async.html` is now removed from Hugo and the regular
template should be used.
Hugo pull-request: [#12299](https://github.com/gohugoio/hugo/pull/12299)

Without this change, it is not possible to build with Hugo
v0.125.0 or later.
2024-04-19 08:01:06 +02:00

22 lines
684 B
HTML

<footer>
<div style="display:flex">
{{- range $index, $key := .Site.Params.Social -}}
<a class="soc" href="{{ $key.url }}" rel="me" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>
<a class="border"></a>
{{- end -}}
</div>
<div class="footer-info">
{{ dateFormat "2006" now }} {{ with .Site.Copyright }} {{ . }} | {{ end }} <a
href="https://github.com/athul/archie">Archie Theme</a> | Built with <a href="https://gohugo.io">Hugo</a>
</div>
</footer>
{{ if not .Site.IsServer }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
{{- if (isset .Site.Params "social") -}}
<script>
feather.replace()
</script>
{{- end -}}