Changeset d8c6a83 in Klonkt for src/views/pages


Ignore:
Timestamp:
06/20/2026 08:29:48 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d68bcf1
Parents:
cf0de0c
Message:

fix(downloads+posts): post nav on downloads page + post images full width

  • The pinned "Downloads!" is a real post with slug 'downloads'; the feature route /downloads intercepts it (no post nav). Now /downloads calculates the Newer/Older neighbours of that post and shows the post nav — download buttons remain.
  • Post images (.post-content img) always fill the container width with natural (uncropped) height. style.css?v=20.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/downloads.ejs

    rcf0de0c rd8c6a83  
    33%>
    44<section class="dls">
     5  <%- include('../partials/post-nav', { newerPost: (typeof newerPost !== 'undefined' ? newerPost : null), olderPost: (typeof olderPost !== 'undefined' ? olderPost : null) }) %>
    56  <h1 class="dls-h1">Downloads</h1>
    67  <p class="dls-sub">Gratis te downloaden — laat je e-mailadres achter en je krijgt het bestand.</p>
Note: See TracChangeset for help on using the changeset viewer.