mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Added a RSS link in the public timeline page.
This commit is contained in:
parent
e239d51de1
commit
331c392ae0
1 changed files with 5 additions and 2 deletions
7
html.c
7
html.c
|
@ -192,8 +192,11 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
|
||||||
xs *s1;
|
xs *s1;
|
||||||
|
|
||||||
if (local)
|
if (local)
|
||||||
s1 = xs_fmt("<a href=\"%s/admin\" rel=\"nofollow\">%s</a></nav>\n",
|
s1 = xs_fmt(
|
||||||
snac->actor, L("admin"));
|
"<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
|
else
|
||||||
s1 = xs_fmt(
|
s1 = xs_fmt(
|
||||||
"<a href=\"%s\">%s</a> - "
|
"<a href=\"%s\">%s</a> - "
|
||||||
|
|
Loading…
Reference in a new issue