mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-12-26 15:57:38 +01:00
28 lines
959 B
HTML
28 lines
959 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>
|
|
|
|
{{ $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" . }}
|