Skip to content

Conversation

@agriyakhetarpal
Copy link
Member

Closes #128; this PR adds author and date icons to news posts. @jarrodmillman suggested there were past inconsistencies in the headings, rendering, and content; which I think we have covered.

Also, there is some inconsistency in how authors are mentioned in the YAML frontmatter, which I think we should standardise:

use of authors: ["foo"]

https://github.com/search?q=%22authors%3A+%5B%22+%28org%3Ascientific-python+OR+repo%3Anumpy%2Fnumpy.org+OR+repo%3Ascipy%2Fscipy.org%29+language%3AMarkdown&type=code

use of author: ["foo"]

https://github.com/search?q=%22author%3A+%5B%22+%28org%3Ascientific-python+OR+repo%3Anumpy%2Fnumpy.org+OR+repo%3Ascipy%2Fscipy.org%29+language%3AMarkdown&type=code

This PR makes it authors: only, which can imply either a single author or multiple authors. In that regard, I think authors: is more correct, despite author: being more widely used. I would like to argue that such breakage is necessary for standardisation; we are still in the v0.x cycle anyway and we have long documented the experimental nature of the theme in the user guide. Once this PR is released in v0.23, I can change all instances of author: downstream.

@netlify
Copy link

netlify bot commented Jan 2, 2026

Deploy Preview for scientific-python-hugo-theme failed.

Built without sensitive environment variables

Name Link
🔨 Latest commit 08b5ae6
🔍 Latest deploy log https://app.netlify.com/projects/scientific-python-hugo-theme/deploys/6958029a8ffa970008ddaa1c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

news and blog posts

1 participant