Skip to content

Commit

Permalink
fix(rss): email and name were inverted in output and so uncompliant
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Dec 16, 2024
1 parent 7569e08 commit 1752ef1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def author_name_from_id(self, author_id: str) -> str:
if author_id in self.blog_plugin_cfg.authors:
author_metadata = self.blog_plugin_cfg.authors.get(author_id)
if "email" in self.blog_plugin_cfg.authors.get(author_id):
return f"{author_metadata.get('name')} ({author_metadata.get('email')})"
return f"{author_metadata.get('email')} ({author_metadata.get('name')})"
else:
return author_metadata.get("name")
else:
Expand Down

0 comments on commit 1752ef1

Please sign in to comment.