remotes/1693045480750635534/spooky-22
kek7198 2021-11-24 21:07:16 -06:00
parent 50033871f1
commit 7e47b67a88
1 changed files with 5 additions and 5 deletions

View File

@ -126,22 +126,22 @@
<div style="z-index: 3;">
{% if p.club and not (v and v.paid_dues) %}
<img loading="lazy" src="/assets/images/emojis/marseyglow.webp" class="post-img">
<img loading="lazy" src="/assets/images/emojis/marseyglow.webp" class="post-thumbnail shadow-md w-36 h-20 object-cover p-1 w-36 h-20 object-cover bg-white border border-gray-900">
{% elif not p.url %}
<a {% if v and v.newtab %}target="_blank"{% endif %} {% if v %}href="{{p.permalink}}"{% else %}href="/logged_out{{p.permalink}}"{% endif %}>
<img loading="lazy" src="{{p.thumb_url}}" class="post-img">
<img loading="lazy" src="{{p.thumb_url}}" class="post-thumbnail shadow-md w-36 h-20 object-cover p-1 w-36 h-20 object-cover bg-white border border-gray-900">
</a>
{% elif p.is_image %}
<button data-bs-toggle="modal" data-bs-target="#expandImageModal" data-bs-url="{{p.realurl(v)}}" onclick="expandDesktopImage('{{ p.realurl(v) }}')">
<img loading="lazy" src="{{p.thumb_url}}" class="post-img">
<img loading="lazy" src="{{p.thumb_url}}" class="post-thumbnail shadow-md w-36 h-20 object-cover p-1 w-36 h-20 object-cover bg-white border border-gray-900">
</button>
{% elif (p.url and p.url.lower().endswith('.mp4')) or (p.embed_url and "youtu" in p.domain) or (p.url and "streamable.com/e/" in p.url) %}
<button onclick="document.getElementById('video-{{p.id}}').classList.toggle('hidden')">
<img loading="lazy" src="{{p.thumb_url}}" class="post-img">
<img loading="lazy" src="{{p.thumb_url}}" class="post-thumbnail shadow-md w-36 h-20 object-cover p-1 w-36 h-20 object-cover bg-white border border-gray-900">
</button>
{% else %}
<a {% if not v or v.newtabexternal %}target="_blank"{% endif %} rel="nofollow noopener noreferrer" href="{{p.realurl(v)}}">
<img loading="lazy" src="{{p.thumb_url}}" class="post-img">
<img loading="lazy" src="{{p.thumb_url}}" class="post-thumbnail shadow-md w-36 h-20 object-cover p-1 w-36 h-20 object-cover bg-white border border-gray-900">
</a>
{% endif %}
</div>