remove copyright notice in footer
This commit is contained in:
parent
53c37f52f9
commit
64ba482dda
@ -4,7 +4,7 @@ baseURL: https://cuqmbr.xyz/
|
|||||||
theme: terminal
|
theme: terminal
|
||||||
|
|
||||||
enableGitInfo: true
|
enableGitInfo: true
|
||||||
copyright: 'Powered by <a href="https://gohugo.io">Hugo</a>'
|
copyright: ""
|
||||||
|
|
||||||
defaultContentLanguage: en
|
defaultContentLanguage: en
|
||||||
defaultContentLanguageInSubdir: true
|
defaultContentLanguageInSubdir: true
|
||||||
|
19
layouts/partials/footer.html
Normal file
19
layouts/partials/footer.html
Normal 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" . }}
|
Loading…
Reference in New Issue
Block a user