Changeset bf61be7 in Klonkt for src/views/partials

Timestamp:
06/14/2026 02:59:41 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
4d7443b
Parents:
52215bc
Message:

hub: company overview on / (latest posts from all users) + /user/ routing

In hub mode '/' is no longer the primary PrutFolio but an overview:
hero (company site title) + "Latest posts" across ALL sites + "PrutFolio's"
list. Solo keeps '/' as the single PrutFolio.

  • routes/hub.js: GET / -> hub overview in hub, otherwise next() (solo -> posts.js).
  • views/pages/hub-home.ejs: overview layout (cards + user list).
  • middleware/site.js: PrutFolio's now accessible via /user/:slug (canonical) and /sites/:slug (legacy); siteUrlBase follows the used prefix.
  • server.js: hubRoutes mounted before postsRoutes.

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.