sadium/themes/hugo-theme-terminal/layouts/partials/footer.html
2023-12-24 15:04:36 +03:00

28 lines
1.2 KiB
HTML

<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>Powered by <a href="https://gohugo.io">Hugo</a> ::</span>
<span><a href="https://github.com/panr/hugo-theme-terminal" target="_blank">Theme</a> by <a href="https://github.com/panr" target="_blank">panr</a> ::</span>
<span>&nbsp;<a href="https://git.sadium.cyou/SadmL/sadium">Mod</a>. by <a href="https://git.sadium.cyou/SadmL">SL</a> ::</span>
<span>&nbsp;<a href="/tos">ToS</a> ::</span>
<span>&nbsp;<a href="https://choosealicense.com/licenses/cc-by-4.0/">CC-BY-4.0</a> ::</span>
<span>&nbsp;{{ now.Year }}</span>
{{ end }}
</div>
</div>
</footer>
{{ $menu := resources.Get "js/menu.js" | js.Build }}
{{ $prism := resources.Get "js/prism.js" | js.Build }}
{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }}
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>
<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}