hugo-theme-re-terminal/layouts/partials/footer.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2022-06-21 13:50:51 +00:00
<footer class="footer">
<div class="footer__inner">
{{ if $.Site.Copyright }}
<div class="copyright copyright--user">
<span>{{ $.Site.Copyright | safeHTML }}</span>
{{ else }}
<div class="copyright">
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span>
2022-06-21 13:50:51 +00:00
{{ end }}
2024-07-28 16:52:59 +00:00
<span>:: <a href="https://github.com/mirus-ua/hugo-theme-re-terminal" target="_blank">Theme</a> made by <a href="https://github.com/mirus-ua" target="_blank">Mirus</a></span>
2022-06-21 13:50:51 +00:00
</div>
</div>
</footer>
{{ $menu := resources.Get "js/menu.js" | js.Build }}
{{ $prism := resources.Get "js/prism.js" | js.Build }}
2022-11-07 23:34:01 +00:00
{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }}
2022-06-21 13:50:51 +00:00
2022-06-21 15:15:11 +00:00
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>
2022-06-21 13:50:51 +00:00
2024-07-30 11:37:30 +00:00
<!-- Banner JS if it enabled -->
{{ if .Site.Params.Banner }}
{{ $banner := resources.Get "js/banner.js" | js.Build | resources.Minify }}
<script type="text/javascript" src="{{ $banner.RelPermalink }}"></script>
{{ end }}
2022-06-21 13:50:51 +00:00
<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}