hugo-theme-hello-friend/layouts/partials/footer.html

22 lines
958 B
HTML
Raw Permalink Normal View History

2018-07-20 19:14:22 +02:00
<footer class="footer">
<div class="footer__inner">
2019-01-29 11:11:48 +01:00
{{ if $.Site.Copyright }}
<div class="copyright copyright--user">{{ $.Site.Copyright | safeHTML }}</div>
{{ else }}
2018-07-20 19:14:22 +02:00
{{ partial "logo.html" . }}
<div class="copyright">
2023-01-02 23:22:15 +01:00
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a></span>
2023-01-03 00:15:59 +01:00
<span><a href="https://github.com/panr/hugo-theme-hello-friend" target="_blank">Theme</a> made by <a href="https://github.com/panr" target="_blank">panr</a></span>
2018-07-20 19:14:22 +02:00
</div>
{{ end }}
2018-07-20 19:14:22 +02:00
</div>
</footer>
2022-10-23 11:16:46 +02:00
{{ $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" . }}