From 2e2997d33c4b6a70bec52705d33a2b6bd7552c42 Mon Sep 17 00:00:00 2001 From: Deimos Date: Fri, 1 Feb 2019 19:19:49 -0700 Subject: [PATCH] Add data-topic-posted-by attr to topics in listing This will give people a way to set up filters or use CSS/extensions to display the poster's username, if they really want to. --- tildes/tildes/templates/macros/topics.jinja2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tildes/tildes/templates/macros/topics.jinja2 b/tildes/tildes/templates/macros/topics.jinja2 index 20e3f72..5345357 100644 --- a/tildes/tildes/templates/macros/topics.jinja2 +++ b/tildes/tildes/templates/macros/topics.jinja2 @@ -5,7 +5,10 @@ {% from 'macros/links.jinja2' import group_linked, username_linked %} {% macro render_topic_for_listing(topic, show_group=False, rank=None) %} -
+
{% if topic.is_link_type %}