diff options
author | default <nobody@localhost> | 2022-12-25 15:45:46 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-12-25 15:45:46 +0100 |
commit | 913231d5c017ceaa5a6bc067fb14034daabbb519 (patch) | |
tree | 93ea2ddbd9a586bcbac9581464d97474f4eb1ae3 | |
parent | 7b516b9b3820ad61ddfd8b81c9447c130e07fab9 (diff) |
Add a link rel=alternate to the user RSS.
-rw-r--r-- | html.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -199,6 +199,12 @@ d_char *html_user_header(snac *snac, d_char *s, int local) s = xs_str_cat(s, s1); } + { + xs *s1 = xs_fmt("<link rel=\"alternate\" type=\"application/rss+xml\" " + "title=\"RSS\" href=\"%s.rss\" />\n", snac->actor); + s = xs_str_cat(s, s1); + } + s = xs_str_cat(s, "</head>\n<body>\n"); /* top nav */ |