diff options
| author | 2022-11-02 04:53:50 +0100 | |
|---|---|---|
| committer | 2022-11-02 04:53:50 +0100 | |
| commit | 764178fb347375fb151d953f06329e560d5ad6a9 (patch) | |
| tree | 7eb60c4a6f3b8dbe860ff2ec83a02239074834aa | |
| parent | Don't store objects other than 'Note' in timeline_request(). (diff) | |
| download | snac2-764178fb347375fb151d953f06329e560d5ad6a9.tar.gz snac2-764178fb347375fb151d953f06329e560d5ad6a9.tar.xz snac2-764178fb347375fb151d953f06329e560d5ad6a9.zip | |
Added the @user@host id in the HTML title.
| -rw-r--r-- | html.c | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -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 | ||