-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete copyright icon in footer #243
Comments
@gmathieux Currently is not possible using
But I'm aware that is not a good solution. I may improve |
As @gmathieux, I say many thanks for this Hugo theme. {{ now.Format "2006" }} {{ with .Site.Params.footer.copyright }}{{ . | safeHTML }}{{ else }}{{ with .Site.Author.name }}{{ . }}{{ else }}{{ with .Site.Title }}{{ . }}{{ end }}{{ end }}{{ end }} {{ i18n "footer.Site.Author.name" }} " Thus, delete copy; , the point after the 3 ends, and replace footer.all_rights_reserved by footer.Site.Author.name I recognize this is not a good solution, but works by the moment. |
(For anyone out there who finds this thread:) I use a Creative Commons license, so I changed "All Rights Reserved." to "Some Rights Reserved." by replacing the contents of <footer id="footer" class="main-content-wrap">
<span class="copyrights">
© {{ now.Format "2006" }} {{ with .Site.Params.footer.copyright }}{{ . | safeHTML }}{{ else }}{{ with .Site.Author.name }}{{ . }}{{ else }}{{ with .Site.Title }}{{ . }}{{ end }}{{ end }}{{ end }}. Some Rights Reserved.
</span>
</footer> Similarly, if you want to remove "All Rights Reserved." entirely, and remove the period following the author name, use this: <footer id="footer" class="main-content-wrap">
<span class="copyrights">
© {{ now.Format "2006" }} {{ with .Site.Params.footer.copyright }}{{ . | safeHTML }}{{ else }}{{ with .Site.Author.name }}{{ . }}{{ else }}{{ with .Site.Title }}{{ . }}{{ end }}{{ end }}{{ end }}
</span>
</footer> Very simple fixes, but I'm writing them out just in case anyone isn't super familiar with HTML and just wants a quick fix without breaking things or spending time tinkering. |
Hi, first of all many thanks for creating this awesome theme. I need some help... how can I remove the copyright icon?
The text was updated successfully, but these errors were encountered: