From 618b074ad5ddc002fa81f4c2a5d1921dfcd46a24 Mon Sep 17 00:00:00 2001
From: Macic <46872282+Macic-Dev@users.noreply.github.com>
Date: Sun, 27 Nov 2022 19:42:34 +0100
Subject: [PATCH] Fix embeds (#648)
---
templates/post.html | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/templates/post.html b/templates/post.html
index 8f12131..4b74e5f 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -13,16 +13,25 @@
-
-
-
-
+
+ {% if post.post_type == "image" %}
+
+
+
+ {% else if post.post_type == "video" || post.post_type == "gif" %}
+
+
+
+
+ {% else %}
+
+ {% endif %}
{% endblock %}
{% block subscriptions %}