-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
If params.author is set to an object like {"name": "Foo", "email": "bar@example.com"}, while RSS author is generated fine, authors on the right bottom side of each item in the post list view are displayed like map[...]....
After checking the source, while https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/_default/rss.xml and https://gohugo.io/templates/rss/ both accept author emails set in an object, https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/partials/author.html prints the author whose type is interface {} directly as $author.
Steps to reproduce
- Set
params.authorto{"name": "Foo", "email": "bar@example.com"}inhugo.yaml hugo serverand check the index page
Hugo Version
Hugo >= 0.146.0 (Recommended - Minimum version required for PaperMod)
PaperMod Version
Branch master, 1cf5327
What kind of devices are you seeing the problem on?
Desktop
What browsers are you seeing the problem on?
Chrome
Browser Version
Google Chrome 142.0.7444.175
Relevant log output
[No log]Repository/Source Code link where this issue can be reproduced
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working