cripslock

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 41a06422056e9f59e231adf5c417815312bebae5
parent d041e9a4e7d4a58abcfea323b331096f9d48fc56
Author: Daniel Barlow <dan@telent.net>
Date:   Sat,  9 Aug 2025 13:29:14 +0100

default to sort topic pages by title

Diffstat:
Mmain.fnl | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main.fnl b/main.fnl @@ -255,7 +255,8 @@ href=\"https://axillae.telent.net/\">@dan@axillae.telent.net</a> (fn send-topic-page [stream collection slug] (let [post (collection:get slug) - results (collection:search {:filter {:topic slug}}) + results (collection:search {:filter {:topic slug} + :order {:title :ascending}}) s (stream-from-cq-stream stream)] (server.headers stream { }) (page-header stream (.. "Topic: " slug))