diff --git a/files/templates/submission.html b/files/templates/submission.html index 9bbec7b388..65776d1133 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -394,13 +394,29 @@ {% if p.embed_url %} - {% if p.domain == "twitter.com" and (v and v.theme.split("_")[0] in ["light", "coffee", "4chan"]) %} - {% include "embeds/twitterlight.html" %} - {% elif "twitter.com" in p.domain %} - {% include "embeds/twitter.html" %} - {% elif "youtu" in p.domain %} - {% include "embeds/youtube.html" %} + {% if p.domain == "twitter.com" %} + {{p.embed_url | safe}} + {% if v and v.theme.split("_")[0] in ["light", "coffee", "4chan"] %} + + {% else %} + + {% endif %} + + {% elif "youtu" in p.domain %} + {% if 'lite' in p.embed_url %} + {{p.embed_url | safe}} + {% else %} +
+ {% endif %} + {% endif %} {% endif %} + + + {% if p.author.sig_html and (p.author_id == 1904 or not (v and v.sigs_disabled)) %} +