summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-12-09 13:31:37 +0100
committerGravatar grunfink2025-12-09 13:31:37 +0100
commitee7483cf0dd007d104a815fce47a0d5f050ca870 (patch)
treeb8af2e538311bb1bcfa005c20e21479c81f41af0 /httpd.c
parentUpdated TODO. (diff)
downloadsnac2-ee7483cf0dd007d104a815fce47a0d5f050ca870.tar.gz
snac2-ee7483cf0dd007d104a815fce47a0d5f050ca870.tar.xz
snac2-ee7483cf0dd007d104a815fce47a0d5f050ca870.zip
New query variable terse=anything.
If set to any value, a public post page doesn't show any headline.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/httpd.c b/httpd.c
index a8cd849..f93f197 100644
--- a/httpd.c
+++ b/httpd.c
@@ -257,7 +257,7 @@ int server_get_handler(xs_dict *req, const char *q_path,
257 else { 257 else {
258 xs *page = xs_fmt("?t=%s", t); 258 xs *page = xs_fmt("?t=%s", t);
259 xs *title = xs_fmt(L("Search results for tag #%s"), t); 259 xs *title = xs_fmt(L("Search results for tag #%s"), t);
260 *body = html_timeline(NULL, tl, 0, skip, show, more, title, page, 0, NULL); 260 *body = html_timeline(NULL, tl, 0, skip, show, more, title, page, 0, NULL, 0);
261 } 261 }
262 } 262 }
263 else 263 else
@@ -265,7 +265,7 @@ int server_get_handler(xs_dict *req, const char *q_path,
265 /** instance timeline **/ 265 /** instance timeline **/
266 xs *tl = timeline_instance_list(0, 30); 266 xs *tl = timeline_instance_list(0, 30);
267 *body = html_timeline(NULL, tl, 0, 0, 0, 0, 267 *body = html_timeline(NULL, tl, 0, 0, 0, 0,
268 L("Recent posts by users in this instance"), NULL, 0, NULL); 268 L("Recent posts by users in this instance"), NULL, 0, NULL, 0);
269 } 269 }
270 else 270 else
271 *body = greeting_html(); 271 *body = greeting_html();