From ee7483cf0dd007d104a815fce47a0d5f050ca870 Mon Sep 17 00:00:00 2001 From: grunfink Date: Tue, 9 Dec 2025 13:31:37 +0100 Subject: New query variable terse=anything. If set to any value, a public post page doesn't show any headline. --- httpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'httpd.c') 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, else { xs *page = xs_fmt("?t=%s", t); xs *title = xs_fmt(L("Search results for tag #%s"), t); - *body = html_timeline(NULL, tl, 0, skip, show, more, title, page, 0, NULL); + *body = html_timeline(NULL, tl, 0, skip, show, more, title, page, 0, NULL, 0); } } else @@ -265,7 +265,7 @@ int server_get_handler(xs_dict *req, const char *q_path, /** instance timeline **/ xs *tl = timeline_instance_list(0, 30); *body = html_timeline(NULL, tl, 0, 0, 0, 0, - L("Recent posts by users in this instance"), NULL, 0, NULL); + L("Recent posts by users in this instance"), NULL, 0, NULL, 0); } else *body = greeting_html(); -- cgit v1.2.3