Added a RSS link in the public timeline page.

This commit is contained in:
default 2022-11-18 11:42:13 +01:00
parent e239d51de1
commit 331c392ae0

7
html.c
View File

@ -192,8 +192,11 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
xs *s1;
if (local)
s1 = xs_fmt("<a href=\"%s/admin\" rel=\"nofollow\">%s</a></nav>\n",
snac->actor, L("admin"));
s1 = xs_fmt(
"<a href=\"%s.rss\">%s</a> - "
"<a href=\"%s/admin\" rel=\"nofollow\">%s</a></nav>\n",
snac->actor, L("RSS"),
snac->actor, L("admin"));
else
s1 = xs_fmt(
"<a href=\"%s\">%s</a> - "