fix: remove extra space when author is empty#707
fix: remove extra space when author is empty#707agriyakhetarpal merged 1 commit intoscientific-python:mainfrom
Conversation
✅ Deploy Preview for scientific-python-hugo-theme ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Nice to see netlify! :) |
agriyakhetarpal
left a comment
There was a problem hiding this comment.
This always bothered me, but I never cared enough to fix it. Thank you! While we're at it, I think we should add authors to the config for all websites, though. Would you like to start doing so, @henryiii? :)
Also, should we be stricter and not allow websites with an empty author?
|
Does it make sense to add an author to the main website? Individual pages makes sense, but just a general website with a few links doesn't seem to. |
|
I think the author in the config is per-website, yes. The problem is that the main website is fragmented and built by collating multiple repo sources, so changes have to be reflected to multiple repos (I'm looking at the SPECs :D). |

This removes the extra space when author is empty. (like on https://learn.scientific-python.org, where it says
© 2026 . All rights reserved..The
withonly executes if it's non-empty, and.is the object in the with.