Changeset 69e7a79 in Klonkt
- Timestamp:
- 06/26/2026 05:02:40 PM (2 months ago)
- Branches:
- main
- Children:
- eefd302
- Parents:
- 9327a85
- File:
-
- 1 edited
-
src/views/partials/post-card.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/post-card.ejs
r9327a85 r69e7a79 55 55 <div class="post-list-body"> 56 56 <div class="post-list-meta mono"> 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 <% if (_isBoost) { %><span class="post-list-pin post-list-boost" aria-label="Boost"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="17 1 21 5 17 9"/><path d="M3 11V9a4 4 0 0 1 4-4h14"/><polyline points="7 23 3 19 7 15"/><path d="M21 13v2a4 4 0 0 1-4 4H3"/></svg></span><% } else if (_isPinned) { %><span class="post-list-pin" aria-label="Vastgepind"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="12" y1="17" x2="12" y2="22"/><path d="M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24z"/></svg></span><% } %> 58 58 <time datetime="<%= post.published_at || post.created_at %>"><%= _ddmmyyyy(post.published_at || post.created_at) %></time> 59 59 <% if (_src) { %><span class="post-list-type">· via <%= _src %></span><% } %> … … 213 213 color: var(--accent); 214 214 margin-right: .35rem; 215 font-size: .9rem; 216 } 215 display: inline-flex; 216 align-items: center; 217 vertical-align: middle; 218 } 219 .post-list-pin svg { width: 13px; height: 13px; display: block; } 220 .post-list-boost { color: #2fa85a; } 217 221 .post-list-draft { 218 222 color: var(--accent);
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)