From 48d77d6d61ac994d8306fd9e79917f7a3e719f3f Mon Sep 17 00:00:00 2001
From: rimu <3310831+rimu@users.noreply.github.com>
Date: Mon, 30 Dec 2024 13:09:06 +1300
Subject: [PATCH] teasers: only show domain link for link posts
---
app/templates/post/post_teaser/_title.html | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/app/templates/post/post_teaser/_title.html b/app/templates/post/post_teaser/_title.html
index 4860b41d..22302c3c 100644
--- a/app/templates/post/post_teaser/_title.html
+++ b/app/templates/post/post_teaser/_title.html
@@ -9,11 +9,13 @@
{% if post.type == POST_TYPE_VIDEO -%}
{% endif -%}
- ({{ post.domain.name }})
- {% if post.domain.post_warning -%}
-
+ {% if post.type == POST_TYPE_LINK -%}
+ ({{ post.domain.name }})
+ {% if post.domain.post_warning -%}
+
+ {% endif -%}
+
{% endif -%}
-
{% endif -%}
{% if post.nsfw -%}nsfw{% endif -%}
{% if post.nsfl -%}nsfl{% endif -%}