Add a link rel=alternate to the user RSS.

This commit is contained in:
default 2022-12-25 15:45:46 +01:00
parent 7b516b9b38
commit 913231d5c0

6
html.c
View file

@ -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 */