summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-18 11:42:13 +0100
committerdefault <nobody@localhost>2022-11-18 11:42:13 +0100
commit331c392ae01ee7496e813873d621f8637bee0273 (patch)
treed256064c9e1dde9bbcefcff90d3dfb82cb9c6864
parente239d51de1a0158460defc198fe7fbc7f8049b0a (diff)
Added a RSS link in the public timeline page.
-rw-r--r--html.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/html.c b/html.c
index 8f229b9..c385df2 100644
--- a/html.c
+++ b/html.c
@@ -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> - "