aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-12-09 13:31:37 +0100
committergrunfink <grunfink@comam.es>2025-12-09 13:31:37 +0100
commitee7483cf0dd007d104a815fce47a0d5f050ca870 (patch)
treeb8af2e538311bb1bcfa005c20e21479c81f41af0 /httpd.c
parentdeb76261bf32734be73c68b94dc1cbdfb00dc70d (diff)
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,
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();