mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-12-26 15:57:38 +01:00
0be313316f
- Switch to the Hugo Pipes (bye bye Webpack) - Use Inter from Google Fonts - Update README
24 lines
977 B
HTML
24 lines
977 B
HTML
<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">
|
|
<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>
|
|
</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" . }}
|