Changeset 83faa57 in Klonkt


Ignore:
Timestamp:
06/16/2026 04:28:40 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
b807a85
Parents:
974de34
Message:

Rebrand: "Klonkt Hub Beta" -> "Klonkt Beta" + version number in footer

Footer now shows "Klonkt Beta v<version>" (version from package.json via
render.js local appVersion). Also updated default page title, startup log,
and README.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r974de34 r83faa57  
    1 # Klonkt Hub Beta
     1# Klonkt Beta
    22
    33Persoonlijk multi-site platform met editorial-feel content + sociale community.
  • src/middleware/render.js

    r974de34 r83faa57  
    1010 */
    1111
     12import fs from 'fs';
    1213import path from 'path';
    1314import { fileURLToPath } from 'url';
     
    2122const __dirname = path.dirname(fileURLToPath(import.meta.url));
    2223const VIEWS_DIR = path.join(__dirname, '..', 'views');
     24
     25// App-versie (uit package.json) — getoond in de footer naast "Klonkt Beta".
     26let APP_VERSION = '';
     27try {
     28  APP_VERSION = JSON.parse(fs.readFileSync(path.join(__dirname, '..', '..', 'package.json'), 'utf8')).version || '';
     29} catch { /* geen versie beschikbaar */ }
    2330
    2431const formatDate = (iso) => {
     
    8087    formatDate,
    8188    formatDateTime,
    82     pageTitle: data.pageTitle || (data.site && data.site.title) || 'Klonkt Hub Beta',
     89    pageTitle: data.pageTitle || (data.site && data.site.title) || 'Klonkt Beta',
     90    appVersion: APP_VERSION,
    8391    bodyClass: data.bodyClass || 'on-home',
    8492    socialDescr: data.socialDescr || '',
  • src/server.js

    r974de34 r83faa57  
    11/**
    2  * Klonkt Hub Beta — server bootstrap
     2 * Klonkt Beta — server bootstrap
    33 *
    44 * Persoonlijk multi-site platform — Node + SQLite + htmx.
     
    421421server.listen(PORT, () => {
    422422  console.log('');
    423   console.log('🪶 Klonkt Hub Beta');
     423  console.log('🪶 Klonkt Beta');
    424424  console.log(`   http://localhost:${PORT}`);
    425425  console.log('');
  • src/views/partials/footer.ejs

    r974de34 r83faa57  
    55    </div>
    66    <div class="footer-meta">
    7       <span>Klonkt Hub Beta</span>
     7      <span>Klonkt Beta<%= (typeof appVersion !== 'undefined' && appVersion) ? ' v' + appVersion : '' %></span>
    88      <%# Mobile-only theme toggle. On desktop the topnav has its own toggle
    99          so we hide this one to avoid two visible toggles at once. The same
Note: See TracChangeset for help on using the changeset viewer.