mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Added rel=nofollow to the admin link.
This commit is contained in:
parent
9ab8016f6c
commit
5c81dd88bc
1 changed files with 2 additions and 1 deletions
3
html.c
3
html.c
|
@ -168,7 +168,8 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
|
|||
xs *s1;
|
||||
|
||||
if (local)
|
||||
s1 = xs_fmt("<a href=\"%s/admin\">%s</a></nav>\n", snac->actor, L("admin"));
|
||||
s1 = xs_fmt("<a href=\"%s/admin\" rel=\"nofollow\">%s</a></nav>\n",
|
||||
snac->actor, L("admin"));
|
||||
else
|
||||
s1 = xs_fmt("<a href=\"%s\">%s</a></nav>\n", snac->actor, L("public"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue