Added antidiscovery for the copyright name in the footer

This commit is contained in:
2025-04-05 23:31:21 +02:00
parent c74fc9c257
commit 231604b60a
18 changed files with 70 additions and 19 deletions

View File

@@ -1,8 +1,11 @@
<footer class="footer">
<style>
.antidiscovery i { display: none; }
</style>
<div class="footer__inner">
{{ if $.Site.Params.Copyright }}
<div class="copyright copyright--user">
<span>© {{ now.Year }} {{ $.Site.Params.Copyright | safeHTML }}</span>
<span class="antidiscovery">© {{ now.Year }} {{ $.Site.Params.Copyright | safeHTML }}</span>
{{ else }}
<div class="copyright">
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span>