fix last commit

master
Aevann 2024-08-03 17:21:09 +03:00
parent d42b9621ab
commit b5df481062
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@
{% endif %}
{% if p.url %}
{% if p.url.startswith('https://old.reddit.com/r/') and not p.url.endswith('/new') %}
{% if p.url.startswith('https://old.reddit.com/r/') and not p.url.endswith('/new/') %}
<iframe id="external-embed" src="{{p.url.replace('https://old.reddit.com/', 'https://embed.reddit.com/').split('?')[0]}}?context=1&showtitle=true{% if v.theme in DARK_THEMES %}&theme=dark{% endif %}" height="317" width="100%" allow="clipboard-read; clipboard-write" scrolling="no"></iframe>
<script defer src="{{'js/reddit_embed.js' | asset}}"></script>
{% elif p.url.startswith('https://tiktok.com/@') %}