diff --git a/html.c b/html.c index c17583e..e2d416b 100644 --- a/html.c +++ b/html.c @@ -1158,16 +1158,18 @@ static xs_html *html_user_body(snac *user, int read_only) } xs_html_add(top_nav, - xs_html_sctag("img", - xs_html_attr("src", avatar), - xs_html_attr("class", "snac-avatar"), - xs_html_attr("alt", ""))); + xs_html_tag("a", + xs_html_attr("href", "/"), + xs_html_sctag("img", + xs_html_attr("src", avatar), + xs_html_attr("class", "snac-avatar"), + xs_html_attr("alt", "")))); if (read_only) { xs *rss_url = xs_fmt("%s.rss", user->actor); xs *admin_url = xs_fmt("%s/admin", user->actor); - xs_html_add(top_nav, + /* xs_html_add(top_nav, xs_html_tag("a", xs_html_attr("href", rss_url), xs_html_text(L("RSS"))), @@ -1176,6 +1178,7 @@ static xs_html *html_user_body(snac *user, int read_only) xs_html_attr("href", admin_url), xs_html_attr("rel", "nofollow"), xs_html_text(L("private")))); + */ } else { int n_len = notify_new_num(user);