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

24 lines
977 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>
2018-07-20 19:14:22 +02:00
{{else}}
{{ partial "logo.html" . }}
<div class="copyright">
2019-05-12 20:08:06 +02:00
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a></span>
<span>Theme created by <a href="https://twitter.com/panr" target="_blank" rel="noopener">panr</a></span>
2018-07-20 19:14:22 +02:00
</div>
{{end}}
</div>
</footer>
{{ $opts := dict "noComments" true "minified" true "compact" true }}
{{ $menu := resources.Get "js/menu.js" | js.Build | babel $opts }}
{{ $theme := resources.Get "js/theme.js" | js.Build | babel $opts }}
{{ $prism := resources.Get "js/prism.js" | js.Build | babel $opts }}
<script src="{{ $menu.Permalink }}"></script>
<script src="{{ $theme.Permalink }}"></script>
<script src="{{ $prism.Permalink }}"></script>
{{- partial "extended_footer.html" . }}