Remove hard-coded email address from the feed. Fix #62

The email address is optional and I don't think adding it is worth
the complexity.
This commit is contained in:
Thomas Sileo
2020-02-02 12:38:16 +01:00
parent 8f0e167e43
commit fa9edb8fda

View File

@@ -17,7 +17,7 @@ def gen_feed():
fg = FeedGenerator()
fg.id(f"{ID}")
fg.title(f"{USERNAME} notes")
fg.author({"name": USERNAME, "email": "t@a4.io"})
fg.author({"name": USERNAME})
fg.link(href=ID, rel="alternate")
fg.description(f"{USERNAME} notes")
fg.logo(ME.get("icon", {}).get("url"))