mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 00:43:38 +00:00
Add a link rel=alternate to the user RSS.
This commit is contained in:
parent
7b516b9b38
commit
913231d5c0
1 changed files with 6 additions and 0 deletions
6
html.c
6
html.c
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue