From dedfa9a44e68a5ccea8174c0dc375b90e7e31a22 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:09:31 +1300 Subject: [PATCH] wcag - heading structure --- app/templates/post/_post_teaser.html | 72 ++++++++++++++-------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/app/templates/post/_post_teaser.html b/app/templates/post/_post_teaser.html index b1030a67..e100a2d0 100644 --- a/app/templates/post/_post_teaser.html +++ b/app/templates/post/_post_teaser.html @@ -8,48 +8,48 @@
-

+ {% if post.type == POST_TYPE_IMAGE %}{% endif %} + {% if post.type == POST_TYPE_LINK and post.domain_id %} + {% if post.url and 'youtube.com' in post.url %} + {% endif %} + + {% endif %} + {% if post.reports and current_user.is_authenticated and post.community.is_moderator(current_user) %} + + {% endif %}

+ {% if show_post_community %}c/{{ post.community.name }}{% endif %} by {{ render_username(post.author) }} {{ moment(post.last_active if sort == 'active' else post.posted_at).fromNow() }}