Changeset 1f01b99 in Klonkt
- Timestamp:
- 06/15/2026 03:44:22 AM (3 months ago)
- Branches:
- main
- Children:
- 33886fb
- Parents:
- 52badd3
- File:
-
- 1 edited
-
src/views/pages/post.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/post.ejs
r52badd3 r1f01b99 286 286 <% if (!post.pinned && (prevPost || nextPost)) { %> 287 287 <nav class="post-nav"> 288 <%# Newer links, Older rechts (lijst nieuwste-eerst → naar rechts = ouder). 289 .post-nav-prev = linker kolom (links uitgelijnd), .post-nav-next = 290 rechter kolom (rechts uitgelijnd). %> 291 <% if (nextPost) { %> 292 <a class="post-nav-prev" href="<%= nextPost._urlBase || '' %>/<%= nextPost.slug %>"<% if (!nextPost._urlBase) { %> 293 hx-get="/<%= nextPost.slug %>?partial=1" hx-target="#pcms-main" 294 hx-push-url="/<%= nextPost.slug %>" hx-indicator="#pcms-loading"<% } %>> 295 <span class="post-nav-label">← Newer</span> 296 <span class="post-nav-title"><%= nextPost.title %></span> 297 </a> 298 <% } else { %><span></span><% } %> 288 299 <% if (prevPost) { %> 289 <a class="post-nav- prev" href="<%= prevPost._urlBase || '' %>/<%= prevPost.slug %>"<% if (!prevPost._urlBase) { %>300 <a class="post-nav-next" href="<%= prevPost._urlBase || '' %>/<%= prevPost.slug %>"<% if (!prevPost._urlBase) { %> 290 301 hx-get="/<%= prevPost.slug %>?partial=1" hx-target="#pcms-main" 291 302 hx-push-url="/<%= prevPost.slug %>" hx-indicator="#pcms-loading"<% } %>> 292 <span class="post-nav-label"> ← Older</span>303 <span class="post-nav-label">Older →</span> 293 304 <span class="post-nav-title"><%= prevPost.title %></span> 294 </a>295 <% } else { %><span></span><% } %>296 <% if (nextPost) { %>297 <a class="post-nav-next" href="<%= nextPost._urlBase || '' %>/<%= nextPost.slug %>"<% if (!nextPost._urlBase) { %>298 hx-get="/<%= nextPost.slug %>?partial=1" hx-target="#pcms-main"299 hx-push-url="/<%= nextPost.slug %>" hx-indicator="#pcms-loading"<% } %>>300 <span class="post-nav-label">Newer →</span>301 <span class="post-nav-title"><%= nextPost.title %></span>302 305 </a> 303 306 <% } %>
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)