blog/themes/hello-friend/layouts/partials/footer.html

23 lines
919 B
HTML
Raw Normal View History

2023-06-11 11:34:59 +02:00
<footer class="footer">
<div class="footer__inner">
{{ if $.Site.Copyright }}
<div class="copyright copyright--user">{{ $.Site.Copyright | safeHTML }}</div>
{{ else }}
{{ partial "logo.html" . }}
<div class="copyright">
2023-06-11 16:09:07 +02:00
<span>© {{ now.Year }} Mathieu Broillet</span>
<span>Powered by <a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a></span>
<span>, theme</a> by <a href="https://github.com/panr" target="_blank">panr</a></span>
2023-06-11 11:34:59 +02:00
</div>
{{ end }}
</div>
</footer>
{{ $menu := resources.Get "js/menu.js" | js.Build }}
{{ $prism := resources.Get "js/prism.js" | js.Build }}
{{ $theme := resources.Get "js/theme.js" | js.Build }}
{{ $bundle := slice $menu $prism $theme | resources.Concat "bundle.js" | resources.Minify }}
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>
{{- partial "extended_footer.html" . }}