mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-23 16:25:07 +01:00
22 lines
958 B
HTML
22 lines
958 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><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>
|
|
</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" . }}
|