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.