remotes/1693045480750635534/spooky-22
kek7198 2021-11-28 11:23:24 -06:00
parent a12649afa9
commit d5adde6a51
1 changed files with 5 additions and 5 deletions

View File

@ -188,22 +188,22 @@
<div class="flex flex-row flex-nowrap pl-5 md:pl-8">
<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-thumbnail shadow-md p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
<img loading="lazy" src="/assets/images/emojis/marseyglow.webp" class="post-thumbnail shadow-sm p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
{% 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-thumbnail shadow-md p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
<img loading="lazy" src="{{p.thumb_url}}" class="post-thumbnail shadow-sm p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
</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-thumbnail shadow-md p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
<img loading="lazy" src="{{p.thumb_url}}" class="post-thumbnail shadow-sm p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
</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-thumbnail shadow-md p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
<img loading="lazy" src="{{p.thumb_url}}" class="post-thumbnail shadow-sm p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
</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-thumbnail shadow-md p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
<img loading="lazy" src="{{p.thumb_url}}" class="post-thumbnail shadow-sm p-1 w-32 h-20 object-cover object-cover bg-white border border-gray-300">
</a>
{% endif %}
</div>