Changeset 93b147d in Klonkt
- Timestamp:
- 06/29/2026 11:12:32 PM (2 months ago)
- Branches:
- main
- Children:
- 328d837
- Parents:
- b607d4d
- File:
-
- 1 edited
-
src/views/partials/post-card.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/post-card.ejs
rb607d4d r93b147d 49 49 <% if (_ext) { %>target="_blank" rel="noopener"<% } else { %>hx-get="<%= _href %>?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="<%= _href %>" hx-indicator="#pcms-loading"<% } %> 50 50 aria-label="<%= post.title || '(zonder titel)' %>" tabindex="-1"> 51 <img src="<%= thumb(post.cover_image_url, 256) %>" alt="" loading="lazy" decoding="async"> 51 <img src="<%= thumb(post.cover_image_url, 480) %>" 52 srcset="<%= thumb(post.cover_image_url, 320) %> 320w, <%= thumb(post.cover_image_url, 640) %> 640w, <%= thumb(post.cover_image_url, 1280) %> 1280w" 53 sizes="(min-width: 768px) 120px, 100vw" 54 alt="" loading="lazy" decoding="async"> 52 55 <% if (post.nsfw) { %><span class="nsfw-veil"><span class="nsfw-veil-label">🔞 <%= post.content_warning || t('post.nsfw_warning') %></span><span class="nsfw-veil-btn"><%= t('post.nsfw_show') %></span></span><% } %> 53 56 </a>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)