Changeset c7c7f02 in Klonkt for src/views/partials/post-card.ejs
- Timestamp:
- 06/26/2026 01:01:54 PM (2 months ago)
- Branches:
- main
- Children:
- b6cdc3d
- Parents:
- bbce8da
- File:
-
- 1 edited
-
src/views/partials/post-card.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/post-card.ejs
rbbce8da rc7c7f02 19 19 const _typeLabel = (post.type && post.type !== 'overig' && post.type !== 'post') ? post.type : ''; 20 20 const _isPinned = !!post.pinned; 21 const _isBoost = !!post.isBoost; 21 22 const _isDraft = post.status && post.status !== 'published'; 22 23 … … 42 43 } 43 44 %> 44 <li class="post-list-item<%= _hasCover ? ' has-cover' : '' %><%= _isPinned? ' is-pinned' : '' %>">45 <li class="post-list-item<%= _hasCover ? ' has-cover' : '' %><%= (_isPinned || _isBoost) ? ' is-pinned' : '' %>"> 45 46 46 47 <% if (_hasCover) { %> … … 54 55 <div class="post-list-body"> 55 56 <div class="post-list-meta mono"> 56 <% if (_is Pinned) { %><span class="post-list-pin" aria-label="Vastgepind">★</span><% } %>57 <% if (_isBoost) { %><span class="post-list-pin post-list-boost" aria-label="Boost">🔁</span><% } else if (_isPinned) { %><span class="post-list-pin" aria-label="Vastgepind">★</span><% } %> 57 58 <time datetime="<%= post.published_at || post.created_at %>"><%= _ddmmyyyy(post.published_at || post.created_at) %></time> 58 59 <% if (_src) { %><span class="post-list-type">· via <%= _src %></span><% } %>
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)