From 17551a5c4bf5face987b1004e98cda83eb3673c8 Mon Sep 17 00:00:00 2001 From: girst Date: Sun, 14 Nov 2021 00:27:59 +0100 Subject: [PATCH] expose reddit sort orders to users --- app/reddit/templates/reddit.html.j2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/reddit/templates/reddit.html.j2 b/app/reddit/templates/reddit.html.j2 index 110243f..c48cfeb 100644 --- a/app/reddit/templates/reddit.html.j2 +++ b/app/reddit/templates/reddit.html.j2 @@ -12,6 +12,21 @@ {% block content %} {{ super() }} +
Sort
+hot | +new | +rising | +controversial | +top ( +hour +day +week +month +year +all +) +
+
{% for row in rows %} {% set karma = '↑' ~ row.n_karma|trim3 %} -- 2.39.3