Changeset d15b27f in Klonkt
- Timestamp:
- 06/16/2026 07:13:18 AM (3 months ago)
- Branches:
- main
- Children:
- ec2e358
- Parents:
- 544cd86
- Location:
- src
- Files:
-
- 2 edited
-
assets/css/style.css (modified) (1 diff)
-
views/pages/archive.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/assets/css/style.css
r544cd86 rd15b27f 2055 2055 border-color: var(--ink-muted); 2056 2056 } 2057 /* Actieve state: puur afgeleid van body[data-feed-view]. Geen .is-active class meer. */ 2058 body[data-feed-view="timeline"] .view-switch-btn[data-view="timeline"], 2059 body[data-feed-view="grid"] .view-switch-btn[data-view="grid"] { 2057 /* Actieve state: puur afgeleid van body[data-feed-view]. Geen .is-active class meer. 2058 Niet op de Archive-pagina: daar is geen "huidige" timeline/grid-keuze, dus beide 2059 knoppen blijven neutraal (grijs). */ 2060 body[data-feed-view="timeline"]:not(.on-archive) .view-switch-btn[data-view="timeline"], 2061 body[data-feed-view="grid"]:not(.on-archive) .view-switch-btn[data-view="grid"] { 2060 2062 background: var(--ink); 2061 2063 color: var(--paper); -
src/views/pages/archive.ejs
r544cd86 rd15b27f 24 24 <!-- ========== TIMELINE (year/month grouped) ========== --> 25 25 <div class="container archive-page feed-timeline"> 26 <h1>Archive</h1> 27 <p class="archive-meta"><%= totalPosts %> post<%= totalPosts !== 1 ? 's' : '' %></p> 26 <% var _archBase = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : ''; %> 27 <p class="archive-back-row"> 28 <a href="<%= _archBase %>/" class="btn archive-back" 29 hx-get="<%= _archBase %>/?partial=1" hx-target="#pcms-main" 30 hx-push-url="<%= _archBase %>/" hx-indicator="#pcms-loading">← Terug</a> 31 </p> 32 <h1>Archief</h1> 33 <p class="archive-meta"><%= totalPosts %> bericht<%= totalPosts !== 1 ? 'en' : '' %></p> 28 34 29 35 <% if (totalPosts === 0) { %> 30 <p class="empty-state">No posts yet.</p>36 <p class="empty-state">Nog geen berichten.</p> 31 37 <% } %> 32 38 … … 68 74 <style> 69 75 .archive-page { max-width: 700px; margin: 2rem auto; padding: 0 1rem; } 76 .archive-back-row { margin: 0 0 1rem; } 70 77 .archive-page h1 { font-family: var(--font-display, serif); margin: 0 0 0.25rem; } 71 78 .archive-meta { color: var(--ink-muted); margin-bottom: 2rem; }
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)