From 2276059d472a9bfa2efea8c2b9f78d6697482015 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sat, 27 Apr 2024 21:58:48 +0200 Subject: [PATCH] feat: show time ago, anchor link, and original link --- templates/threads.html | 35 ++++++++++++----------------------- threads.py | 25 +++++++++++++++++++++++-- 2 files changed, 35 insertions(+), 25 deletions(-) diff --git a/templates/threads.html b/templates/threads.html index 23d9a0f..44b7b54 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -119,18 +119,17 @@ grid-template-columns: auto auto; gap: 5px; - & .anchor:hover a { - display: block; - } - + & .anchor, & .anchor a { + padding-top: 5px; + font-size: small; text-align: right; - display: none; + color: #555; + vertical-align: center; } & .author a { display: block; - margin-bottom: 0.5em; text-decoration: none; color: #232323; @@ -212,13 +211,13 @@
@@ -251,12 +250,6 @@
{% if thread.descendants is defined %} -
- {{ thread.created_at }} -
-