Changeset 4c5169f in Klonkt for src/views/shell.ejs
- Timestamp:
- 06/14/2026 03:37:12 PM (3 months ago)
- Branches:
- main
- Children:
- 337ec5a
- Parents:
- 6e0249f
- File:
-
- 1 edited
-
src/views/shell.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/shell.ejs
r6e0249f r4c5169f 239 239 <body class="<%= bodyClass || 'on-home' %> has-bottom-tab" data-feed-view="<%= _e(safeSite.feed_view_default || 'timeline') %>" data-grid-cols="3"> 240 240 241 <%- include('partials/topnav') %> 242 243 <%- include('partials/profile-header') %> 241 <%# Hub-overview is een standalone landing: geen masthead/profile-header/ 242 view-switcher — die horen bij een PrutFolio (en verschijnen dus op /user/- 243 pagina's). De landing begint meteen met de hero. %> 244 <% var isHubLanding = (typeof bodyClass === 'string' && bodyClass.indexOf('on-hub') >= 0); %> 245 246 <% if (!isHubLanding) { %> 247 <%- include('partials/topnav') %> 248 <%- include('partials/profile-header') %> 249 <% } %> 244 250 245 251 <%# View switcher — visible on every non-admin page. On feed pages … … 247 253 on non-feed pages (post, account, search, auth) it navigates to / 248 254 in the chosen view. Click logic is in shell.ejs at the bottom. %> 249 <% if (!isAdminPage ) { %>255 <% if (!isAdminPage && !isHubLanding) { %> 250 256 <%- include('partials/view-switcher') %> 251 257 <% } %> … … 262 268 <%- include('partials/footer') %> 263 269 264 <!-- Mobile bottom-tab navigation (auto-hidden ≥768px) --> 270 <!-- Mobile bottom-tab navigation (auto-hidden ≥768px) — niet op de hub-landing --> 271 <% if (!isHubLanding) { %> 265 272 <%- include('partials/bottom-tab') %> 273 <% } %> 266 274 267 275 <!-- Mobile profile sheet (auto-hidden ≥768px; only rendered when logged in) -->
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)