Added rel=nofollow to the admin link.

This commit is contained in:
default 2022-11-01 19:51:40 +01:00
parent 9ab8016f6c
commit 5c81dd88bc

3
html.c
View file

@ -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"));