From 28d7747d416bb72fe47967fd06ac1ab3fe9cc56c Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Fri, 26 Apr 2024 21:35:57 +0200 Subject: [PATCH] feat: add meta info per page --- README.md | 4 ++- templates/threads.html | 64 +++++++++++++++++++++++++++--------------- threads.py | 2 +- 3 files changed, 45 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 21312bf..4b304e9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Threads -Show off your favorite public threads! +Show off your favorite public threads and offer hand-picked, fine-grained, topical subscriptions! + +See it [in action](https://ayco.io/threads). ## Project setup diff --git a/templates/threads.html b/templates/threads.html index c6b2cd0..5d9ae48 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -4,6 +4,18 @@ {{ app.title }} + + {% if threads|length == 1 %} + + {% else %} + + {% endif %} + + + + + +