remotes/1693045480750635534/spooky-22
Aevann1 2021-09-02 20:25:36 +02:00
parent f0609b4299
commit ea4b33d9f5
1 changed files with 8 additions and 7 deletions

View File

@ -324,14 +324,15 @@
{{p.realbody(v) | safe}}
</div>
{% 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 and "/search?q=" not in p.url and "/i/events/" not in p.url %}
{% include "embeds/twitter.html" %}
{% elif "youtu" in p.domain %}
{% include "embeds/youtube.html" %}
{% 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" %}
{% endif %}
{% endif %}
</div>
{% if v and v.id==p.author_id and not v.is_suspended %}