aboutsummaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authorAnthony Wang2024-03-27 14:43:29 -0500
committerAnthony Wang2024-03-27 14:43:29 -0500
commit74fe323503eeb79baa1a2eeefe35647bdfffe482 (patch)
tree188bacfb7d0e86bb771281fed28dbe85c6434a05 /config.toml
parent90af9c3623bd65075baa4f18641ecbf157aca207 (diff)
Add author field in RSS feed by setting params.author.email to "Anthony Wang"
Revelant line in Hugo: https://github.com/gohugoio/hugo/blob/54a8f0ce21015df7f9927dca358b6d09a560e37b/tpl/tplimpl/embedded/templates/_default/rss.xml#L65 Interestingly, the RSS 2.0 spec says the author field should be an email address: https://www.rssboard.org/rss-specification#ltauthorgtSubelementOfLtitemgt
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index 61738d1..4f1d376 100644
--- a/config.toml
+++ b/config.toml
@@ -50,3 +50,5 @@ theme = 'gokarna'
{name = 'archlinux', url = 'https://aur.archlinux.org/packages/?K=dodecahedron&SeB=m', rel = 'me'},
{name = 'codeforces', url = 'https://codeforces.com/profile/Ta180m', rel = 'me'},
]
+ [params.author]
+ email = 'Anthony Wang'