commit 78a4aad05a5a73d4f9630916230f1f77bf0b1e9f
parent ae91beab83f5b3824e0ed2c5d9a7f01640bce0e4
Author: Daniel Barlow <dan@telent.net>
Date: Sat, 9 Aug 2025 15:28:30 +0100
add post date to topic display
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/main.fnl b/main.fnl
@@ -273,7 +273,10 @@ href=\"https://axillae.telent.net/\">@dan@axillae.telent.net</a>
[:span [[:a {:href "?order=title&direction=ascending"}] "title"]]]
(prepend :ul
(icollect [_ p (ipairs results)]
- [:li [[:a { :href p.url-path}] p.title]]))]
+ [:li
+ (os.date "%d %b %Y" p.date)
+ " "
+ [[:a { :href p.url-path}] p.title]]))]
s)
(sidebar stream collection)
(page-footer stream)