source: Klonkt/src/views/pages/changelog.ejs@ 0d7acdf

main
Last change on this file since 0d7acdf was 90259da, checked in by roboburr <roboburr@…>, 3 months ago

feat: release tracking — version in footer links to /changelog

  • CHANGELOG.md as source of truth; version bump 1.0.0-beta.1 -> beta.2.
  • Public /changelog page renders the changelog (marked) + shows the federation proto alongside the app version.
  • Footer version ("Klonkt Beta vX") is now a link to /changelog.

Circles: app version is independent of KLONKT_PROTO (federation proto,
now 2) — a version bump does not affect federation. The /changelog page
shows the proto explicitly so each release makes it clear which
federation version the instance speaks.

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

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<div class="container changelog-page">
2 <p><a href="<%= (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '' %>/" class="btn">&larr; Terug</a></p>
3 <h1>Wijzigingen</h1>
4 <p class="cl-meta">
5 App-versie <strong>v<%= appVersion %></strong>
6 <span class="cl-sep">·</span>
7 Federatie-proto <strong><%= proto %></strong>
8 <% if (typeof user !== 'undefined' && user && user.role === 'god') { %>
9 <span class="cl-sep">·</span> <a href="/admin/updates">Updates beheren</a>
10 <% } %>
11 </p>
12 <div class="changelog-body"><%- changelogHtml %></div>
13</div>
14
15<style>
16.changelog-page { max-width: 760px; margin: 3rem auto; padding: 0 1rem; }
17.changelog-page h1 { font-family: var(--font-display, serif); font-size: 2rem; margin: 0 0 0.4rem; }
18.cl-meta { color: var(--ink-muted); font-size: 0.9rem; margin: 0 0 1.75rem; }
19.cl-meta a { color: var(--accent); }
20.cl-sep { opacity: 0.5; margin: 0 0.2rem; }
21.changelog-body { color: var(--ink); line-height: 1.65; }
22.changelog-body h2 {
23 font-family: var(--font-display, serif); font-size: 1.3rem;
24 margin: 2rem 0 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
25}
26.changelog-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1rem; }
27.changelog-body h3 { font-size: 1rem; margin: 1.1rem 0 0.4rem; color: var(--ink-soft, var(--ink-muted)); }
28.changelog-body ul { margin: 0.3rem 0 0.9rem; padding-left: 1.3rem; }
29.changelog-body li { margin: 0.25rem 0; }
30.changelog-body blockquote {
31 margin: 1rem 0; padding: 0.6rem 0.9rem;
32 border-left: 3px solid var(--accent); background: var(--paper-2);
33 border-radius: 0 8px 8px 0; font-size: 0.9rem; color: var(--ink-muted);
34}
35.changelog-body code {
36 background: var(--paper-2); padding: 0.05rem 0.35rem;
37 border-radius: 4px; font-size: 0.88em;
38}
39.changelog-body a { color: var(--accent); }
40</style>
Note: See TracBrowser for help on using the repository browser.