summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-11-02 04:53:50 +0100
committerGravatar default2022-11-02 04:53:50 +0100
commit764178fb347375fb151d953f06329e560d5ad6a9 (patch)
tree7eb60c4a6f3b8dbe860ff2ec83a02239074834aa
parentDon't store objects other than 'Note' in timeline_request(). (diff)
downloadsnac2-764178fb347375fb151d953f06329e560d5ad6a9.tar.gz
snac2-764178fb347375fb151d953f06329e560d5ad6a9.tar.xz
snac2-764178fb347375fb151d953f06329e560d5ad6a9.zip
Added the @user@host id in the HTML title.
-rw-r--r--html.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/html.c b/html.c
index ef829f9..dc5ee19 100644
--- a/html.c
+++ b/html.c
@@ -155,7 +155,11 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
155 } 155 }
156 156
157 { 157 {
158 xs *s1 = xs_fmt("<title>%s</title>\n", xs_dict_get(snac->config, "name")); 158 xs *s1 = xs_fmt("<title>%s (@%s@%s)</title>\n",
159 xs_dict_get(snac->config, "name"),
160 snac->uid,
161 xs_dict_get(srv_config, "host"));
162
159 s = xs_str_cat(s, s1); 163 s = xs_str_cat(s, s1);
160 } 164 }
161 165