1
0

remove copyright notice in footer

This commit is contained in:
cuqmbr 2025-05-17 19:43:53 +03:00
parent 53c37f52f9
commit 64ba482dda
Signed by: cuqmbr
GPG Key ID: 0AA446880C766199
2 changed files with 20 additions and 1 deletions

View File

@ -4,7 +4,7 @@ baseURL: https://cuqmbr.xyz/
theme: terminal
enableGitInfo: true
copyright: 'Powered by <a href="https://gohugo.io">Hugo</a>'
copyright: ""
defaultContentLanguage: en
defaultContentLanguageInSubdir: true

View File

@ -0,0 +1,19 @@
{{ if $.Site.Copyright }}
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>{{ $.Site.Copyright | safeHTML }}</span>
</div>
</div>
</footer>
{{ end }}
{{ $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" . }}