| [b94c08e] | 1 | <%
|
|---|
| [834bcc3] | 2 | // In hub mode the site is accessible under /user/<slug>; all site-scoped links
|
|---|
| 3 | // (tag, edit, delete, comments) must carry that prefix otherwise they fall back
|
|---|
| 4 | // to the primary site → 404 / wrong site. In solo mode _base = ''.
|
|---|
| [b94c08e] | 5 | const _base = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '';
|
|---|
| 6 | %>
|
|---|
| [7bc636b] | 7 | <article class="container post-page">
|
|---|
| [74544fb] | 8 |
|
|---|
| [834bcc3] | 9 | <%# Navigation across ALL posts — ABOVE the post (shared partial). %>
|
|---|
| [1e2e9e7] | 10 | <%- include('../partials/post-nav', { newerPost: newerPost, olderPost: olderPost }) %>
|
|---|
| [74544fb] | 11 |
|
|---|
| [7bc636b] | 12 | <% if (post.cover_image_url) { %>
|
|---|
| 13 | <figure class="post-cover">
|
|---|
| 14 | <img src="<%= post.cover_image_url %>" alt="">
|
|---|
| 15 | </figure>
|
|---|
| 16 | <% } %>
|
|---|
| 17 |
|
|---|
| 18 | <header class="post-header">
|
|---|
| 19 | <h1 class="post-title"><%= post.title %></h1>
|
|---|
| 20 | <div class="post-meta">
|
|---|
| 21 | <a class="author" href="/users/<%= encodeURIComponent(post.author_username) %>"
|
|---|
| 22 | hx-get="/users/<%= encodeURIComponent(post.author_username) %>?partial=1"
|
|---|
| 23 | hx-target="#pcms-main" hx-swap="innerHTML"
|
|---|
| 24 | hx-push-url="/users/<%= encodeURIComponent(post.author_username) %>"
|
|---|
| 25 | hx-indicator="#pcms-loading"><%= post.author_username %></a>
|
|---|
| 26 | <span class="meta-sep">·</span>
|
|---|
| 27 | <time datetime="<%= post.published_at || post.created_at %>"><%= formatDate(post.published_at || post.created_at) %></time>
|
|---|
| 28 | <% if (post.status !== 'published') { %>
|
|---|
| 29 | <span class="meta-sep">·</span>
|
|---|
| 30 | <span class="status-badge status-<%= post.status %>"><%= post.status %></span>
|
|---|
| 31 | <% } %>
|
|---|
| 32 | </div>
|
|---|
| [535f955] | 33 | <% if (post.status === 'published') { %>
|
|---|
| 34 | <div class="post-like-row">
|
|---|
| 35 | <%- include('../partials/like-button', { post: post, likedByMe: (typeof likedByMe !== 'undefined' && likedByMe), likeCount: (typeof likeCount !== 'undefined' ? likeCount : 0), loggedIn: !!user, loginNext: _base + '/' + post.slug }) %>
|
|---|
| 36 | </div>
|
|---|
| 37 | <% } %>
|
|---|
| [7bc636b] | 38 | </header>
|
|---|
| 39 |
|
|---|
| 40 | <div class="post-content">
|
|---|
| 41 | <%- post.content_html %>
|
|---|
| 42 | </div>
|
|---|
| 43 |
|
|---|
| 44 | <% if (post.tags && post.tags.length > 0) { %>
|
|---|
| 45 | <div class="post-tags">
|
|---|
| 46 | <% post.tags.forEach(t => { %>
|
|---|
| [b94c08e] | 47 | <a class="tag" href="<%= _base %>/tag/<%= encodeURIComponent(t) %>"
|
|---|
| 48 | hx-get="<%= _base %>/tag/<%= encodeURIComponent(t) %>?partial=1"
|
|---|
| [7bc636b] | 49 | hx-target="#pcms-main" hx-swap="innerHTML"
|
|---|
| [b94c08e] | 50 | hx-push-url="<%= _base %>/tag/<%= encodeURIComponent(t) %>"
|
|---|
| [7bc636b] | 51 | hx-indicator="#pcms-loading">#<%= t %></a>
|
|---|
| 52 | <% }); %>
|
|---|
| 53 | </div>
|
|---|
| 54 | <% } %>
|
|---|
| 55 |
|
|---|
| 56 | <!-- Inline admin actions: only visible if user has permission -->
|
|---|
| 57 | <% if (user && (permissions.canEditPost(user, post, site) || permissions.canDeletePost(user, post, site))) { %>
|
|---|
| 58 | <aside class="post-actions">
|
|---|
| 59 | <% if (permissions.canEditPost(user, post, site)) { %>
|
|---|
| [b94c08e] | 60 | <a href="<%= _base %>/posts/<%= post.slug %>/edit" class="btn"
|
|---|
| 61 | hx-get="<%= _base %>/posts/<%= post.slug %>/edit?partial=1" hx-target="#pcms-main"
|
|---|
| 62 | hx-push-url="<%= _base %>/posts/<%= post.slug %>/edit" hx-indicator="#pcms-loading">
|
|---|
| [7bc636b] | 63 | ✏️ Edit
|
|---|
| 64 | </a>
|
|---|
| 65 | <% } %>
|
|---|
| 66 | <% if (permissions.canDeletePost(user, post, site)) { %>
|
|---|
| [b94c08e] | 67 | <form method="post" action="<%= _base %>/posts/<%= post.slug %>/delete" style="display:inline" onsubmit="return confirm('Delete this post?')">
|
|---|
| [7bc636b] | 68 | <button type="submit" class="btn btn-danger">🗑 Delete</button>
|
|---|
| 69 | </form>
|
|---|
| 70 | <% } %>
|
|---|
| 71 | </aside>
|
|---|
| 72 | <% } %>
|
|---|
| 73 |
|
|---|
| [c16e0a5] | 74 | <!-- Fediverse interactions (inbound replies / likes / boosts via ActivityPub) -->
|
|---|
| [3a2c9d3] | 75 | <!-- Mirrors the native comment markup/classes so it looks identical. -->
|
|---|
| [c16e0a5] | 76 | <% if (typeof fediverse !== 'undefined' && fediverse && fediverse.total > 0) { %>
|
|---|
| [3a2c9d3] | 77 | <section class="post-fediverse post-comments" id="fediverse">
|
|---|
| 78 | <h2 class="comments-heading"><%= t('fedi.heading') %></h2>
|
|---|
| [c16e0a5] | 79 | <p class="fedi-stats">
|
|---|
| 80 | <span title="<%= t('fedi.likes') %>">⭐ <%= fediverse.likeCount %></span>
|
|---|
| 81 | <span title="<%= t('fedi.boosts') %>">🔁 <%= fediverse.announceCount %></span>
|
|---|
| 82 | <span title="<%= t('fedi.replies') %>">💬 <%= fediverse.replies.length %></span>
|
|---|
| 83 | </p>
|
|---|
| 84 | <% if (fediverse.replies.length) { %>
|
|---|
| [3a2c9d3] | 85 | <ol class="comments-list">
|
|---|
| [c16e0a5] | 86 | <% fediverse.replies.forEach(function(r) { %>
|
|---|
| [3a2c9d3] | 87 | <li class="comment">
|
|---|
| 88 | <div class="comment-avatar">
|
|---|
| [c16e0a5] | 89 | <% if (r.actor_icon) { %><img src="<%= r.actor_icon %>" alt="" loading="lazy">
|
|---|
| [3a2c9d3] | 90 | <% } else { %><span><%= (r.actor_name || '?').charAt(0).toUpperCase() %></span><% } %>
|
|---|
| [c16e0a5] | 91 | </div>
|
|---|
| [3a2c9d3] | 92 | <div class="comment-body">
|
|---|
| 93 | <div class="comment-meta">
|
|---|
| 94 | <a class="comment-author" href="<%= r.actor_url %>" rel="nofollow noopener" target="_blank"><%= r.actor_name %></a>
|
|---|
| [c16e0a5] | 95 | <span class="fedi-handle"><%= r.actor_handle %></span>
|
|---|
| [3a2c9d3] | 96 | <% if (r.published || r.created_at) { %><span class="comment-time"><%= formatDateTime(r.published || r.created_at) %></span><% } %>
|
|---|
| [c16e0a5] | 97 | </div>
|
|---|
| [3a2c9d3] | 98 | <div class="comment-content"><%- r.content %></div>
|
|---|
| 99 |
|
|---|
| [55bc7f9] | 100 | <% if (typeof canManageSite !== 'undefined' && canManageSite) { %>
|
|---|
| 101 | <details class="fedi-replybox">
|
|---|
| [3a2c9d3] | 102 | <summary class="comment-reply-btn fedi-reply-toggle"><%= t('fedi.reply') %></summary>
|
|---|
| 103 | <form method="post" action="<%= _base %>/posts/<%= post.slug %>/fedi-reply" class="comment-reply-form">
|
|---|
| [55bc7f9] | 104 | <input type="hidden" name="interaction_id" value="<%= r.id %>">
|
|---|
| [3a2c9d3] | 105 | <textarea name="text" rows="3" required placeholder="<%= t('fedi.reply_ph') %>"></textarea>
|
|---|
| 106 | <div class="comment-reply-form-actions">
|
|---|
| 107 | <button type="submit" class="btn btn-primary"><%= t('fedi.send') %></button>
|
|---|
| 108 | </div>
|
|---|
| [55bc7f9] | 109 | </form>
|
|---|
| 110 | </details>
|
|---|
| [7f46112b] | 111 | <% } else if (r.object_uri) { %>
|
|---|
| 112 | <div class="comment-actions">
|
|---|
| 113 | <button type="button" class="comment-reply-btn fedi-remote-reply-btn" data-fedi-uri="<%= r.object_uri %>" data-fedi-prompt="<%= t('fedi.remote_prompt') %>">
|
|---|
| 114 | <svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 17 4 12 9 7"/><path d="M20 18v-2a4 4 0 0 0-4-4H4"/></svg>
|
|---|
| 115 | <%= t('fedi.remote_reply_short') %>
|
|---|
| 116 | </button>
|
|---|
| 117 | </div>
|
|---|
| [55bc7f9] | 118 | <% } %>
|
|---|
| [3a2c9d3] | 119 |
|
|---|
| 120 | <% var mine = (typeof fediverse.outReplies !== 'undefined' ? fediverse.outReplies : []).filter(function(o){ return o.in_reply_to && o.in_reply_to === r.object_uri; }); %>
|
|---|
| 121 | <% if (mine.length) { %>
|
|---|
| 122 | <ol class="comment-replies">
|
|---|
| 123 | <% mine.forEach(function(o){ %>
|
|---|
| 124 | <li class="comment comment-reply">
|
|---|
| [52ea6df] | 125 | <div class="comment-avatar">
|
|---|
| 126 | <% if (typeof siteAvatar !== 'undefined' && siteAvatar) { %><img src="<%= siteAvatar %>" alt="">
|
|---|
| 127 | <% } else { %><span><%= t('fedi.you').charAt(0).toUpperCase() %></span><% } %>
|
|---|
| 128 | </div>
|
|---|
| [3a2c9d3] | 129 | <div class="comment-body">
|
|---|
| 130 | <div class="comment-meta"><span class="comment-author"><%= t('fedi.you') %></span></div>
|
|---|
| 131 | <div class="comment-content"><%- o.content %></div>
|
|---|
| 132 | </div>
|
|---|
| 133 | </li>
|
|---|
| 134 | <% }); %>
|
|---|
| 135 | </ol>
|
|---|
| 136 | <% } %>
|
|---|
| [c16e0a5] | 137 | </div>
|
|---|
| 138 | </li>
|
|---|
| 139 | <% }); %>
|
|---|
| [3a2c9d3] | 140 | </ol>
|
|---|
| [c16e0a5] | 141 | <% } %>
|
|---|
| 142 | </section>
|
|---|
| 143 | <% } %>
|
|---|
| 144 |
|
|---|
| [3d7312a] | 145 | <!-- Reply via the fediverse (remote interaction: bounces to the visitor's own server) -->
|
|---|
| 146 | <% var _postAbsUrl = (typeof ogOrigin !== 'undefined' && ogOrigin ? ogOrigin : '') + (typeof _base !== 'undefined' && _base ? _base : '') + '/' + post.slug; %>
|
|---|
| 147 | <div class="post-fediverse-cta">
|
|---|
| [7f46112b] | 148 | <button type="button" class="btn fedi-remote-reply-btn" data-fedi-uri="<%= _postAbsUrl %>" data-fedi-prompt="<%= t('fedi.remote_prompt') %>">
|
|---|
| 149 | <svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 17 4 12 9 7"/><path d="M20 18v-2a4 4 0 0 0-4-4H4"/></svg>
|
|---|
| 150 | <%= t('fedi.remote_reply') %>
|
|---|
| 151 | </button>
|
|---|
| [3d7312a] | 152 | </div>
|
|---|
| [594cc50] | 153 | <script>
|
|---|
| 154 | (function(){
|
|---|
| 155 | if (window.__fediRemoteWired) return; window.__fediRemoteWired = true;
|
|---|
| 156 | document.addEventListener('click', function(e){
|
|---|
| 157 | var b = e.target.closest && e.target.closest('.fedi-remote-reply-btn');
|
|---|
| 158 | if (!b) return;
|
|---|
| 159 | var d = prompt(b.getAttribute('data-fedi-prompt') || ''); if (!d) return;
|
|---|
| 160 | d = d.trim().replace(/^@?[^@\s]*@/, '').replace(/^https?:\/\//i, '').replace(/\/.*$/, '').trim();
|
|---|
| 161 | if (d) location.href = 'https://' + d + '/authorize_interaction?uri=' + encodeURIComponent(b.getAttribute('data-fedi-uri') || '');
|
|---|
| 162 | });
|
|---|
| 163 | })();
|
|---|
| 164 | </script>
|
|---|
| [3d7312a] | 165 |
|
|---|
| [7bc636b] | 166 | <!-- Comments -->
|
|---|
| 167 | <section class="post-comments" id="comments">
|
|---|
| 168 | <h2 class="comments-heading">
|
|---|
| [fe86013] | 169 | <%= t(totalComments === 1 ? 'comments.heading_one' : 'comments.heading_other', { n: totalComments }) %>
|
|---|
| [7bc636b] | 170 | </h2>
|
|---|
| 171 |
|
|---|
| 172 | <% if (typeof currentPath === 'string' && currentPath && currentPath.indexOf('/' + post.slug) === 0) { %>
|
|---|
| [834bcc3] | 173 | <% /* If the URL has ?pending=1, the previous submit landed in the moderation queue */ %>
|
|---|
| [7bc636b] | 174 | <% } %>
|
|---|
| 175 | <script>
|
|---|
| 176 | (function() {
|
|---|
| 177 | if (location.search.indexOf('pending=1') !== -1) {
|
|---|
| 178 | var s = document.createElement('div');
|
|---|
| 179 | s.className = 'comments-pending-flash';
|
|---|
| [fe86013] | 180 | s.textContent = <%- JSON.stringify(t('comments.pending')) %>;
|
|---|
| [7bc636b] | 181 | document.currentScript.parentNode.insertBefore(s, document.currentScript);
|
|---|
| 182 | }
|
|---|
| 183 | })();
|
|---|
| 184 | </script>
|
|---|
| 185 |
|
|---|
| 186 | <% if (!comments || !comments.length) { %>
|
|---|
| [fe86013] | 187 | <p class="comments-empty"><%= t('comments.empty') %><% if (!user) { %> <a href="/auth/login?next=<%= encodeURIComponent(_base + '/' + post.slug + '#comments') %>"><%= t('nav.login') %></a> <%= t('comments.to_start') %><% } %></p>
|
|---|
| [7bc636b] | 188 | <% } else { %>
|
|---|
| 189 | <ol class="comments-list">
|
|---|
| 190 | <% comments.forEach(function(c) { %>
|
|---|
| 191 | <li class="comment" id="comment-<%= c.id %>">
|
|---|
| 192 | <div class="comment-avatar">
|
|---|
| 193 | <% if (c.author_avatar) { %>
|
|---|
| 194 | <img src="<%= c.author_avatar %>" alt="">
|
|---|
| 195 | <% } else { %>
|
|---|
| 196 | <span><%= c.author_username.charAt(0).toUpperCase() %></span>
|
|---|
| 197 | <% } %>
|
|---|
| 198 | </div>
|
|---|
| 199 | <div class="comment-body">
|
|---|
| 200 | <div class="comment-meta">
|
|---|
| 201 | <a class="comment-author" href="/users/<%= encodeURIComponent(c.author_username) %>"><%= c.author_username %></a>
|
|---|
| 202 | <span class="comment-time" title="<%= c.created_at %>"><%= formatDateTime(c.created_at) %></span>
|
|---|
| 203 | </div>
|
|---|
| 204 | <div class="comment-content"><%= c.content %></div>
|
|---|
| 205 | <div class="comment-actions">
|
|---|
| [8afbdd6] | 206 | <% if (user && canMutate) { %>
|
|---|
| [fe86013] | 207 | <button type="button" class="comment-reply-btn" data-reply-to="<%= c.id %>"><%= t('comments.reply') %></button>
|
|---|
| [7bc636b] | 208 | <% } %>
|
|---|
| 209 | <% if (user && permissions.canDeleteComment(user, c, site)) { %>
|
|---|
| [e25438a] | 210 | <form method="post" action="<%= _base %>/comments/<%= c.id %>/delete" onsubmit="return confirm('<%= t('comments.delete_confirm') %>')">
|
|---|
| [fe86013] | 211 | <button type="submit" class="comment-delete-btn"><%= t('comments.delete') %></button>
|
|---|
| [7bc636b] | 212 | </form>
|
|---|
| 213 | <% } %>
|
|---|
| 214 | </div>
|
|---|
| 215 |
|
|---|
| 216 | <!-- Inline reply form (hidden by default) -->
|
|---|
| [8afbdd6] | 217 | <% if (user && canMutate) { %>
|
|---|
| [b94c08e] | 218 | <form method="post" action="<%= _base %>/comments" class="comment-reply-form" hidden data-reply-form-for="<%= c.id %>">
|
|---|
| [7bc636b] | 219 | <input type="hidden" name="post_slug" value="<%= post.slug %>">
|
|---|
| 220 | <input type="hidden" name="parent_comment_id" value="<%= c.id %>">
|
|---|
| [fe86013] | 221 | <textarea name="content" rows="3" maxlength="4000" placeholder="<%= t('comments.reply_to', { name: c.author_username }) %>" required></textarea>
|
|---|
| [7bc636b] | 222 | <div class="comment-reply-form-actions">
|
|---|
| [fe86013] | 223 | <button type="submit" class="btn btn-primary"><%= t('comments.reply') %></button>
|
|---|
| 224 | <button type="button" class="btn comment-cancel-reply"><%= t('comments.cancel') %></button>
|
|---|
| [7bc636b] | 225 | </div>
|
|---|
| 226 | </form>
|
|---|
| 227 | <% } %>
|
|---|
| 228 |
|
|---|
| 229 | <!-- Replies (1 level deep) -->
|
|---|
| 230 | <% if (c.replies && c.replies.length) { %>
|
|---|
| 231 | <ol class="comment-replies">
|
|---|
| 232 | <% c.replies.forEach(function(r) { %>
|
|---|
| 233 | <li class="comment comment-reply" id="comment-<%= r.id %>">
|
|---|
| 234 | <div class="comment-avatar">
|
|---|
| 235 | <% if (r.author_avatar) { %>
|
|---|
| 236 | <img src="<%= r.author_avatar %>" alt="">
|
|---|
| 237 | <% } else { %>
|
|---|
| 238 | <span><%= r.author_username.charAt(0).toUpperCase() %></span>
|
|---|
| 239 | <% } %>
|
|---|
| 240 | </div>
|
|---|
| 241 | <div class="comment-body">
|
|---|
| 242 | <div class="comment-meta">
|
|---|
| 243 | <a class="comment-author" href="/users/<%= encodeURIComponent(r.author_username) %>"><%= r.author_username %></a>
|
|---|
| 244 | <span class="comment-time"><%= formatDateTime(r.created_at) %></span>
|
|---|
| 245 | </div>
|
|---|
| 246 | <div class="comment-content"><%= r.content %></div>
|
|---|
| 247 | <div class="comment-actions">
|
|---|
| [d41f4be] | 248 | <% if (user && canMutate) { %>
|
|---|
| 249 | <button type="button" class="comment-reply-btn" data-reply-to="<%= r.id %>"><%= t('comments.reply') %></button>
|
|---|
| 250 | <% } %>
|
|---|
| [7bc636b] | 251 | <% if (user && permissions.canDeleteComment(user, r, site)) { %>
|
|---|
| [e25438a] | 252 | <form method="post" action="<%= _base %>/comments/<%= r.id %>/delete" onsubmit="return confirm('<%= t('comments.delete_confirm') %>')">
|
|---|
| [fe86013] | 253 | <button type="submit" class="comment-delete-btn"><%= t('comments.delete') %></button>
|
|---|
| [7bc636b] | 254 | </form>
|
|---|
| 255 | <% } %>
|
|---|
| 256 | </div>
|
|---|
| [d41f4be] | 257 |
|
|---|
| [834bcc3] | 258 | <%# Replying to a reply — lands (via resolvedParent on the
|
|---|
| 259 | server) in the same thread, so the 1-level depth is preserved. %>
|
|---|
| [d41f4be] | 260 | <% if (user && canMutate) { %>
|
|---|
| 261 | <form method="post" action="<%= _base %>/comments" class="comment-reply-form" hidden data-reply-form-for="<%= r.id %>">
|
|---|
| 262 | <input type="hidden" name="post_slug" value="<%= post.slug %>">
|
|---|
| 263 | <input type="hidden" name="parent_comment_id" value="<%= r.id %>">
|
|---|
| 264 | <textarea name="content" rows="3" maxlength="4000" placeholder="<%= t('comments.reply_to', { name: r.author_username }) %>" required></textarea>
|
|---|
| 265 | <div class="comment-reply-form-actions">
|
|---|
| 266 | <button type="submit" class="btn btn-primary"><%= t('comments.reply') %></button>
|
|---|
| 267 | <button type="button" class="btn comment-cancel-reply"><%= t('comments.cancel') %></button>
|
|---|
| 268 | </div>
|
|---|
| 269 | </form>
|
|---|
| 270 | <% } %>
|
|---|
| [7bc636b] | 271 | </div>
|
|---|
| 272 | </li>
|
|---|
| 273 | <% }); %>
|
|---|
| 274 | </ol>
|
|---|
| 275 | <% } %>
|
|---|
| 276 | </div>
|
|---|
| 277 | </li>
|
|---|
| 278 | <% }); %>
|
|---|
| 279 | </ol>
|
|---|
| 280 | <% } %>
|
|---|
| 281 |
|
|---|
| 282 | <!-- Top-level comment form (only for logged-in users for now) -->
|
|---|
| [8afbdd6] | 283 | <% if (user && canMutate) { %>
|
|---|
| [b94c08e] | 284 | <form method="post" action="<%= _base %>/comments" class="comment-form">
|
|---|
| [7bc636b] | 285 | <input type="hidden" name="post_slug" value="<%= post.slug %>">
|
|---|
| 286 | <label class="comment-form-label">
|
|---|
| [fe86013] | 287 | <span><%= t('comments.add_as') %> <strong><%= user.username %></strong></span>
|
|---|
| 288 | <textarea name="content" rows="3" maxlength="4000" placeholder="<%= t('comments.placeholder') %>" required></textarea>
|
|---|
| [7bc636b] | 289 | </label>
|
|---|
| [fe86013] | 290 | <button type="submit" class="btn btn-primary"><%= t('comments.post') %></button>
|
|---|
| [7bc636b] | 291 | </form>
|
|---|
| [8afbdd6] | 292 | <% } else if (!user) { %>
|
|---|
| [7bc636b] | 293 | <p class="comments-login-cta">
|
|---|
| [fe86013] | 294 | <a href="/auth/login?next=<%= encodeURIComponent(_base + '/' + post.slug + '#comments') %>" class="btn"><%= t('comments.login_to_comment') %></a>
|
|---|
| [7bc636b] | 295 | </p>
|
|---|
| [8afbdd6] | 296 | <% } else { %>
|
|---|
| 297 | <p class="comments-login-cta" style="color:var(--ink-muted)">👁️ Kijker-modus — reageren is uitgeschakeld.</p>
|
|---|
| [7bc636b] | 298 | <% } %>
|
|---|
| 299 | </section>
|
|---|
| 300 |
|
|---|
| 301 | <!-- Reply form toggle -->
|
|---|
| 302 | <script>
|
|---|
| 303 | (function() {
|
|---|
| 304 | document.querySelectorAll('.comment-reply-btn').forEach(function(btn) {
|
|---|
| 305 | btn.addEventListener('click', function() {
|
|---|
| 306 | var id = btn.dataset.replyTo;
|
|---|
| 307 | var form = document.querySelector('[data-reply-form-for="' + id + '"]');
|
|---|
| 308 | if (form) {
|
|---|
| 309 | form.hidden = !form.hidden;
|
|---|
| 310 | if (!form.hidden) form.querySelector('textarea').focus();
|
|---|
| 311 | }
|
|---|
| 312 | });
|
|---|
| 313 | });
|
|---|
| 314 | document.querySelectorAll('.comment-cancel-reply').forEach(function(btn) {
|
|---|
| 315 | btn.addEventListener('click', function() {
|
|---|
| 316 | btn.closest('.comment-reply-form').hidden = true;
|
|---|
| 317 | });
|
|---|
| 318 | });
|
|---|
| 319 | })();
|
|---|
| 320 | </script>
|
|---|
| 321 |
|
|---|
| 322 | <%# ── Related posts (3-card grid) ─────────────────────────────
|
|---|
| 323 | Always shown if at least one related post exists. Selection logic
|
|---|
| 324 | lives server-side: same-tag posts ranked by overlap, falling back
|
|---|
| 325 | to most-recent if there's no tag overlap. %>
|
|---|
| 326 | <% if (relatedPosts && relatedPosts.length > 0) { %>
|
|---|
| 327 | <section class="post-related" aria-labelledby="related-heading">
|
|---|
| [fe86013] | 328 | <h2 class="post-related-heading" id="related-heading"><%= t('related.title') %></h2>
|
|---|
| [7bc636b] | 329 | <ul class="post-related-grid">
|
|---|
| 330 | <% relatedPosts.forEach(function(rp) { %>
|
|---|
| 331 | <li class="post-related-card">
|
|---|
| [d54dade] | 332 | <a href="<%= rp._urlBase || '' %>/<%= rp.slug %>"<% if (!rp._urlBase) { %>
|
|---|
| [7bc636b] | 333 | hx-get="/<%= rp.slug %>?partial=1" hx-target="#pcms-main"
|
|---|
| [d54dade] | 334 | hx-push-url="/<%= rp.slug %>" hx-indicator="#pcms-loading"<% } %>>
|
|---|
| [7bc636b] | 335 | <% if (rp.cover_image_url) { %>
|
|---|
| 336 | <span class="post-related-cover"
|
|---|
| 337 | style="background-image: url('<%= rp.cover_image_url %>')"
|
|---|
| 338 | aria-hidden="true"></span>
|
|---|
| 339 | <% } else { %>
|
|---|
| 340 | <span class="post-related-cover post-related-cover--empty" aria-hidden="true"></span>
|
|---|
| 341 | <% } %>
|
|---|
| 342 | <span class="post-related-meta">
|
|---|
| 343 | <span class="post-related-date"><%= formatDate(rp.published_at) %></span>
|
|---|
| 344 | <span class="post-related-title"><%= rp.title %></span>
|
|---|
| 345 | </span>
|
|---|
| 346 | </a>
|
|---|
| 347 | </li>
|
|---|
| 348 | <% }); %>
|
|---|
| 349 | </ul>
|
|---|
| 350 | </section>
|
|---|
| 351 | <% } %>
|
|---|
| 352 |
|
|---|
| 353 | </article>
|
|---|
| 354 | <style>
|
|---|
| [8e29f77] | 355 | .post-page { max-width: 720px; margin: 0.5rem auto 2rem; padding: 0 1rem; }
|
|---|
| [7bc636b] | 356 | .post-cover { margin: 0 0 2rem; border-radius: 8px; overflow: hidden; }
|
|---|
| 357 | .post-cover img { width: 100%; height: auto; display: block; }
|
|---|
| 358 | .post-header { margin-bottom: 2rem; }
|
|---|
| 359 | .post-title { font-family: var(--font-display, serif); font-size: 2.5rem; line-height: 1.1; margin: 0 0 1rem; }
|
|---|
| 360 | @media (max-width: 600px) { .post-title { font-size: 1.85rem; } }
|
|---|
| 361 | .post-meta { font-size: 0.9rem; color: var(--ink-muted); }
|
|---|
| 362 | .author { font-weight: 500; color: var(--ink-soft); text-decoration: none; }
|
|---|
| 363 | .author:hover { color: var(--accent); }
|
|---|
| 364 | .post-content { font-family: var(--font-body, serif); font-size: 1.1rem; line-height: 1.7; color: var(--ink); }
|
|---|
| 365 | .post-content p { margin: 1.2em 0; }
|
|---|
| [535f955] | 366 | .post-like-row { margin-top: 1rem; }
|
|---|
| 367 | .like-btn {
|
|---|
| 368 | display: inline-flex; align-items: center; gap: 0.45rem;
|
|---|
| 369 | padding: 0.4rem 0.85rem; border: 1px solid var(--rule); border-radius: 999px;
|
|---|
| 370 | background: var(--paper-2); color: var(--ink); font: inherit; font-size: 0.95rem;
|
|---|
| 371 | cursor: pointer; text-decoration: none; transition: border-color 120ms, color 120ms, background 120ms;
|
|---|
| 372 | }
|
|---|
| 373 | .like-btn:hover { border-color: var(--accent); }
|
|---|
| 374 | .like-btn .like-heart { font-size: 1.1rem; line-height: 1; }
|
|---|
| 375 | .like-btn.is-liked { border-color: var(--accent); color: var(--accent); }
|
|---|
| 376 | .like-btn.is-liked .like-heart { color: var(--accent); }
|
|---|
| 377 | .like-btn .like-count { font-variant-numeric: tabular-nums; }
|
|---|
| [7bc636b] | 378 | .post-content h2 { font-family: var(--font-display, serif); font-size: 1.6rem; margin: 2rem 0 1rem; }
|
|---|
| 379 | .post-content h3 { font-family: var(--font-display, serif); font-size: 1.3rem; margin: 1.5rem 0 0.75rem; }
|
|---|
| 380 | .post-content a { color: var(--accent); }
|
|---|
| 381 | .post-content code { background: var(--paper-2); padding: 0.1em 0.4em; border-radius: 3px; font-family: var(--font-mono, monospace); font-size: 0.9em; }
|
|---|
| 382 | .post-content pre { background: var(--paper-2); padding: 1rem; border-radius: 6px; overflow-x: auto; }
|
|---|
| 383 | .post-content blockquote { border-left: 3px solid var(--accent); padding-left: 1rem; margin: 1.5rem 0; color: var(--ink-soft); font-style: italic; }
|
|---|
| 384 | .post-content img { max-width: 100%; height: auto; border-radius: 6px; }
|
|---|
| 385 | .post-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 2rem 0; }
|
|---|
| 386 | .tag { background: var(--paper-2); color: var(--ink-soft); padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.85rem; text-decoration: none; transition: background 120ms, color 120ms; }
|
|---|
| 387 | .tag:hover { background: var(--accent); color: white; }
|
|---|
| 388 | .post-actions { display: flex; gap: 0.5rem; margin: 2rem 0; padding: 1rem; background: var(--paper-2); border-radius: 6px; flex-wrap: wrap; }
|
|---|
| 389 |
|
|---|
| 390 | /* ============================================================
|
|---|
| 391 | Comments
|
|---|
| 392 | ============================================================ */
|
|---|
| 393 | .post-comments {
|
|---|
| 394 | margin-top: 3rem;
|
|---|
| 395 | padding-top: 2rem;
|
|---|
| 396 | border-top: 1px solid var(--rule);
|
|---|
| 397 | }
|
|---|
| 398 | .comments-heading {
|
|---|
| 399 | font-family: var(--font-display, serif);
|
|---|
| 400 | font-size: 1.5rem;
|
|---|
| 401 | margin: 0 0 1.5rem;
|
|---|
| 402 | }
|
|---|
| 403 | .comments-empty { color: var(--ink-muted, var(--ink-soft)); margin: 0 0 1.5rem; }
|
|---|
| 404 | .comments-pending-flash {
|
|---|
| 405 | background: rgba(40, 160, 90, 0.15);
|
|---|
| 406 | color: #2a9d5e;
|
|---|
| 407 | border: 1px solid rgba(40, 160, 90, 0.3);
|
|---|
| 408 | padding: 0.75rem 1rem;
|
|---|
| 409 | border-radius: 6px;
|
|---|
| 410 | margin-bottom: 1rem;
|
|---|
| 411 | font-size: 0.9rem;
|
|---|
| 412 | }
|
|---|
| 413 | .comments-empty a { color: var(--accent); }
|
|---|
| 414 |
|
|---|
| 415 | .comments-list, .comment-replies {
|
|---|
| 416 | list-style: none;
|
|---|
| 417 | padding: 0;
|
|---|
| 418 | margin: 0 0 2rem;
|
|---|
| 419 | }
|
|---|
| 420 |
|
|---|
| 421 | .comment {
|
|---|
| 422 | display: flex;
|
|---|
| 423 | gap: 0.85rem;
|
|---|
| 424 | padding: 1rem 0;
|
|---|
| 425 | border-top: 1px solid var(--rule);
|
|---|
| 426 | }
|
|---|
| 427 | .comments-list > .comment:first-child { border-top: 0; padding-top: 0; }
|
|---|
| 428 |
|
|---|
| 429 | .comment-avatar {
|
|---|
| 430 | flex-shrink: 0;
|
|---|
| 431 | width: 40px;
|
|---|
| 432 | height: 40px;
|
|---|
| 433 | border-radius: 50%;
|
|---|
| 434 | background: var(--paper-2);
|
|---|
| 435 | border: 1px solid var(--rule);
|
|---|
| 436 | overflow: hidden;
|
|---|
| 437 | display: inline-flex;
|
|---|
| 438 | align-items: center;
|
|---|
| 439 | justify-content: center;
|
|---|
| 440 | }
|
|---|
| 441 | .comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
|
|---|
| 442 | .comment-avatar span {
|
|---|
| 443 | font-family: var(--font-display, serif);
|
|---|
| 444 | font-weight: 700;
|
|---|
| 445 | color: var(--accent);
|
|---|
| 446 | }
|
|---|
| 447 |
|
|---|
| 448 | .comment-body { flex: 1; min-width: 0; }
|
|---|
| 449 | .comment-meta {
|
|---|
| 450 | display: flex;
|
|---|
| 451 | gap: 0.5rem;
|
|---|
| 452 | align-items: baseline;
|
|---|
| 453 | font-size: 0.85rem;
|
|---|
| 454 | margin-bottom: 0.3rem;
|
|---|
| 455 | }
|
|---|
| 456 | .comment-author { color: var(--ink); font-weight: 600; text-decoration: none; }
|
|---|
| 457 | .comment-author:hover { color: var(--accent); }
|
|---|
| 458 | .comment-time { color: var(--ink-muted, var(--ink-soft)); }
|
|---|
| 459 | .comment-content {
|
|---|
| 460 | white-space: pre-wrap;
|
|---|
| 461 | word-wrap: break-word;
|
|---|
| 462 | color: var(--ink);
|
|---|
| 463 | line-height: 1.5;
|
|---|
| 464 | font-size: 0.95rem;
|
|---|
| 465 | }
|
|---|
| 466 |
|
|---|
| 467 | .comment-actions {
|
|---|
| 468 | display: flex;
|
|---|
| 469 | gap: 0.5rem;
|
|---|
| 470 | margin-top: 0.4rem;
|
|---|
| 471 | }
|
|---|
| 472 | .comment-reply-btn, .comment-delete-btn {
|
|---|
| 473 | background: none;
|
|---|
| 474 | border: 0;
|
|---|
| 475 | color: var(--ink-muted, var(--ink-soft));
|
|---|
| 476 | font-size: 0.8rem;
|
|---|
| 477 | cursor: pointer;
|
|---|
| 478 | padding: 0.2rem 0;
|
|---|
| 479 | font-family: inherit;
|
|---|
| 480 | text-transform: uppercase;
|
|---|
| 481 | letter-spacing: 0.04em;
|
|---|
| 482 | }
|
|---|
| 483 | .comment-reply-btn:hover { color: var(--accent); }
|
|---|
| 484 | .comment-delete-btn:hover { color: #c33; }
|
|---|
| 485 |
|
|---|
| 486 | .comment-replies {
|
|---|
| 487 | margin-top: 1rem;
|
|---|
| 488 | margin-left: 0;
|
|---|
| 489 | border-left: 2px solid var(--rule);
|
|---|
| 490 | padding-left: 1rem;
|
|---|
| 491 | }
|
|---|
| 492 | .comment-reply { padding: 0.75rem 0; }
|
|---|
| 493 | .comment-replies > .comment-reply:first-child { border-top: 0; padding-top: 0; }
|
|---|
| 494 | .comment-reply .comment-avatar { width: 32px; height: 32px; }
|
|---|
| 495 | .comment-reply .comment-avatar span { font-size: 0.85rem; }
|
|---|
| 496 |
|
|---|
| 497 | .comment-form, .comment-reply-form {
|
|---|
| 498 | display: flex;
|
|---|
| 499 | flex-direction: column;
|
|---|
| 500 | gap: 0.6rem;
|
|---|
| 501 | background: var(--paper-2);
|
|---|
| 502 | border: 1px solid var(--rule);
|
|---|
| 503 | border-radius: 8px;
|
|---|
| 504 | padding: 1rem;
|
|---|
| 505 | margin-top: 1rem;
|
|---|
| 506 | }
|
|---|
| 507 | .comment-form-label { display: flex; flex-direction: column; gap: 0.4rem; }
|
|---|
| 508 | .comment-form-label > span { font-size: 0.85rem; color: var(--ink-muted, var(--ink-soft)); }
|
|---|
| 509 | .comment-form textarea, .comment-reply-form textarea {
|
|---|
| 510 | width: 100%;
|
|---|
| 511 | resize: vertical;
|
|---|
| 512 | min-height: 70px;
|
|---|
| 513 | padding: 0.65rem 0.85rem;
|
|---|
| 514 | border: 1px solid var(--rule);
|
|---|
| 515 | border-radius: 5px;
|
|---|
| 516 | background: var(--paper);
|
|---|
| 517 | color: var(--ink);
|
|---|
| 518 | font-family: inherit;
|
|---|
| 519 | font-size: 0.95rem;
|
|---|
| 520 | line-height: 1.4;
|
|---|
| 521 | box-sizing: border-box;
|
|---|
| 522 | }
|
|---|
| 523 | .comment-form button { align-self: flex-start; }
|
|---|
| 524 | .comment-reply-form-actions { display: flex; gap: 0.5rem; }
|
|---|
| [834bcc3] | 525 | /* Show the reply form only AFTER clicking REPLY. The display:flex above would
|
|---|
| 526 | otherwise override the [hidden] attribute → form was always open. */
|
|---|
| [e25438a] | 527 | .comment-reply-form[hidden] { display: none; }
|
|---|
| [834bcc3] | 528 | /* DELETE button is inside a <form>; display:contents makes it a direct flex-sibling
|
|---|
| 529 | of REPLY → pixel-perfect alignment + equal gap. */
|
|---|
| [e25438a] | 530 | .comment-actions form { display: contents; }
|
|---|
| [7bc636b] | 531 |
|
|---|
| 532 | .comments-login-cta { margin-top: 1.5rem; text-align: center; }
|
|---|
| 533 |
|
|---|
| 534 | /* ─── Related posts (3-card grid above pinned-nav) ─────────────── */
|
|---|
| 535 | .post-related {
|
|---|
| 536 | margin: 3rem auto 1.5rem;
|
|---|
| 537 | /* Break out of the 720px article column so the cards have room to breathe.
|
|---|
| 538 | Cap at 1100 to match other wide content. */
|
|---|
| 539 | max-width: 1100px;
|
|---|
| 540 | padding: 0 1rem;
|
|---|
| 541 | }
|
|---|
| 542 | .post-related-heading {
|
|---|
| 543 | font-family: var(--font-ui, system-ui), sans-serif;
|
|---|
| 544 | font-size: 0.75rem;
|
|---|
| 545 | font-weight: 600;
|
|---|
| 546 | text-transform: uppercase;
|
|---|
| 547 | letter-spacing: 0.15em;
|
|---|
| 548 | color: var(--ink-muted, var(--ink-soft));
|
|---|
| 549 | margin: 0 0 1rem;
|
|---|
| 550 | }
|
|---|
| 551 | .post-related-grid {
|
|---|
| 552 | list-style: none;
|
|---|
| 553 | padding: 0; margin: 0;
|
|---|
| 554 | display: grid;
|
|---|
| 555 | grid-template-columns: repeat(3, minmax(0, 1fr));
|
|---|
| 556 | gap: 1rem;
|
|---|
| 557 | }
|
|---|
| 558 | @media (max-width: 880px) { .post-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|---|
| 559 | @media (max-width: 540px) { .post-related-grid { grid-template-columns: 1fr; } }
|
|---|
| 560 |
|
|---|
| 561 | .post-related-card {
|
|---|
| 562 | background: var(--paper);
|
|---|
| 563 | border: 1px solid var(--rule);
|
|---|
| 564 | border-radius: 10px;
|
|---|
| 565 | overflow: hidden;
|
|---|
| 566 | transition: border-color 150ms, transform 150ms;
|
|---|
| 567 | }
|
|---|
| 568 | .post-related-card:hover { border-color: var(--accent); transform: translateY(-2px); }
|
|---|
| 569 | .post-related-card a {
|
|---|
| 570 | display: block;
|
|---|
| 571 | color: inherit;
|
|---|
| 572 | text-decoration: none;
|
|---|
| 573 | }
|
|---|
| 574 | .post-related-cover {
|
|---|
| 575 | display: block;
|
|---|
| 576 | aspect-ratio: 16 / 10;
|
|---|
| 577 | background: var(--paper-2) center/cover no-repeat;
|
|---|
| 578 | }
|
|---|
| 579 | .post-related-cover--empty {
|
|---|
| 580 | background-image: linear-gradient(135deg,
|
|---|
| 581 | color-mix(in srgb, var(--accent) 12%, var(--paper-2)),
|
|---|
| 582 | var(--paper-2));
|
|---|
| 583 | }
|
|---|
| 584 | .post-related-meta {
|
|---|
| 585 | display: flex; flex-direction: column; gap: 0.4rem;
|
|---|
| 586 | padding: 0.85rem 1rem 1.1rem;
|
|---|
| 587 | }
|
|---|
| 588 | .post-related-date {
|
|---|
| 589 | font-size: 0.78rem;
|
|---|
| 590 | color: var(--ink-muted, var(--ink-soft));
|
|---|
| 591 | font-variant-numeric: tabular-nums;
|
|---|
| 592 | }
|
|---|
| 593 | .post-related-title {
|
|---|
| 594 | font-family: var(--font-display, serif);
|
|---|
| 595 | font-size: 1.1rem;
|
|---|
| 596 | font-weight: 600;
|
|---|
| 597 | color: var(--ink);
|
|---|
| 598 | line-height: 1.25;
|
|---|
| 599 | }
|
|---|
| 600 |
|
|---|
| 601 | /* ─── Pinned navigation cards (v9 style) ───────────────────────── */
|
|---|
| 602 | .post-pinned-nav {
|
|---|
| 603 | display: grid;
|
|---|
| 604 | grid-template-columns: 1fr 1fr;
|
|---|
| 605 | gap: 1rem;
|
|---|
| 606 | margin: 1.5rem auto 2rem;
|
|---|
| 607 | max-width: 1100px;
|
|---|
| 608 | padding: 0 1rem;
|
|---|
| 609 | }
|
|---|
| 610 | @media (max-width: 600px) {
|
|---|
| 611 | .post-pinned-nav { grid-template-columns: 1fr; }
|
|---|
| 612 | }
|
|---|
| 613 |
|
|---|
| 614 | .post-pinned-card {
|
|---|
| 615 | display: flex; align-items: center; gap: 1rem;
|
|---|
| 616 | padding: 1rem 1.25rem;
|
|---|
| 617 | border: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent);
|
|---|
| 618 | background: color-mix(in srgb, var(--accent) 6%, var(--paper));
|
|---|
| 619 | border-radius: 10px;
|
|---|
| 620 | text-decoration: none;
|
|---|
| 621 | color: var(--ink);
|
|---|
| 622 | transition: border-color 150ms, background 150ms, transform 150ms;
|
|---|
| 623 | min-height: 88px;
|
|---|
| 624 | }
|
|---|
| 625 | .post-pinned-card:hover {
|
|---|
| 626 | border-color: var(--accent);
|
|---|
| 627 | background: color-mix(in srgb, var(--accent) 11%, var(--paper));
|
|---|
| 628 | transform: translateY(-2px);
|
|---|
| 629 | }
|
|---|
| 630 | .post-pinned-arrow {
|
|---|
| 631 | font-size: 1.6rem;
|
|---|
| 632 | color: var(--accent);
|
|---|
| 633 | flex-shrink: 0;
|
|---|
| 634 | line-height: 1;
|
|---|
| 635 | }
|
|---|
| 636 | .post-pinned-card--next {
|
|---|
| 637 | /* "Volgende" card aligns text to the right with the arrow on the right
|
|---|
| 638 | side, mirroring v9 — the arrow is on the OPPOSITE end from the body. */
|
|---|
| 639 | flex-direction: row-reverse;
|
|---|
| 640 | text-align: right;
|
|---|
| 641 | }
|
|---|
| 642 | .post-pinned-body {
|
|---|
| 643 | display: flex; flex-direction: column; gap: 0.25rem;
|
|---|
| 644 | flex: 1; min-width: 0;
|
|---|
| 645 | }
|
|---|
| 646 | .post-pinned-label {
|
|---|
| 647 | font-family: var(--font-ui, system-ui), sans-serif;
|
|---|
| 648 | font-size: 0.7rem; font-weight: 600;
|
|---|
| 649 | text-transform: uppercase;
|
|---|
| 650 | letter-spacing: 0.1em;
|
|---|
| 651 | color: var(--accent);
|
|---|
| 652 | }
|
|---|
| 653 | .post-pinned-title {
|
|---|
| 654 | font-family: var(--font-display, serif);
|
|---|
| 655 | font-size: 1.05rem; font-weight: 600;
|
|---|
| 656 | color: var(--ink);
|
|---|
| 657 | line-height: 1.25;
|
|---|
| 658 | overflow: hidden;
|
|---|
| 659 | text-overflow: ellipsis;
|
|---|
| 660 | display: -webkit-box;
|
|---|
| 661 | -webkit-line-clamp: 2;
|
|---|
| 662 | -webkit-box-orient: vertical;
|
|---|
| 663 | }
|
|---|
| 664 | .post-pinned-cta {
|
|---|
| 665 | font-size: 0.78rem;
|
|---|
| 666 | color: var(--accent);
|
|---|
| 667 | font-weight: 500;
|
|---|
| 668 | }
|
|---|
| 669 |
|
|---|
| 670 | /* Edge-of-stack indicator: dashed border, muted styling. */
|
|---|
| 671 | .post-pinned-card--edge {
|
|---|
| 672 | flex-direction: column;
|
|---|
| 673 | align-items: flex-start;
|
|---|
| 674 | justify-content: center;
|
|---|
| 675 | gap: 0.35rem;
|
|---|
| 676 | border-style: dashed;
|
|---|
| 677 | background: transparent;
|
|---|
| 678 | color: var(--ink-muted, var(--ink-soft));
|
|---|
| 679 | cursor: default;
|
|---|
| 680 | }
|
|---|
| 681 | .post-pinned-card--edge:hover {
|
|---|
| 682 | /* Edge cards aren't clickable — undo the lift effect. */
|
|---|
| 683 | transform: none;
|
|---|
| 684 | border-color: color-mix(in srgb, var(--accent) 50%, transparent);
|
|---|
| 685 | background: transparent;
|
|---|
| 686 | }
|
|---|
| 687 | .post-pinned-edge-label {
|
|---|
| 688 | font-family: var(--font-ui, system-ui), sans-serif;
|
|---|
| 689 | font-size: 0.72rem;
|
|---|
| 690 | font-weight: 600;
|
|---|
| 691 | text-transform: uppercase;
|
|---|
| 692 | letter-spacing: 0.15em;
|
|---|
| 693 | color: var(--accent);
|
|---|
| 694 | }
|
|---|
| 695 | .post-pinned-edge-title {
|
|---|
| 696 | font-family: var(--font-display, serif);
|
|---|
| 697 | font-size: 1.05rem;
|
|---|
| 698 | font-weight: 600;
|
|---|
| 699 | color: var(--ink);
|
|---|
| 700 | }
|
|---|
| 701 | </style>
|
|---|