remotes/1693045480750635534/spooky-22
kek7198 2021-12-06 13:29:27 -06:00
parent c75f01ffcc
commit c7afc4ad0b
1 changed files with 2 additions and 3 deletions

View File

@ -400,9 +400,9 @@
{% if p.domain == "twitter.com" %} {% if p.domain == "twitter.com" %}
{{p.embed_url | safe}} {{p.embed_url | safe}}
{% if v and v.theme.split("_")[0] in ["light", "coffee", "4chan"] %} {% if v and v.theme.split("_")[0] in ["light", "coffee", "4chan"] %}
<script src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <script src="/assets/js/twitterlight.js?v=1"></script>
{% else %} {% else %}
<script src="/assets/js/twitter.js" charset="utf-8"></script> <script src="/assets/js/twitter.js?v=1"></script>
{% endif %} {% endif %}
<script>document.getElementById('twitter-widget-0').setAttribute('sandbox','')</script> <script>document.getElementById('twitter-widget-0').setAttribute('sandbox','')</script>
{% elif "youtu" in p.domain %} {% elif "youtu" in p.domain %}
@ -416,7 +416,6 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if p.author.sig_html and (p.author_id == 1904 or not (v and v.sigs_disabled)) %} {% if p.author.sig_html and (p.author_id == 1904 or not (v and v.sigs_disabled)) %}
<hr> <hr>
{{p.author.sig_html | safe}} {{p.author.sig_html | safe}}