Changeset a7e12de in Klonkt for src/views/shell.ejs
- Timestamp:
- 06/14/2026 03:48:20 PM (3 months ago)
- Branches:
- main
- Children:
- ccbd6a6
- Parents:
- 337ec5a
- File:
-
- 1 edited
-
src/views/shell.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/shell.ejs
r337ec5a ra7e12de 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 <%# 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) { %> 241 <%# Geen shell-chrome (masthead/profile-header/view-switcher/bottom-tab) op: 242 - de hub-overview (on-hub): standalone landing, begint met de hero; 243 - auth-pagina's (on-auth): focus-schermen voor in-/uitloggen. 244 Die chrome hoort bij een PrutFolio en verschijnt dus op /user/-pagina's. %> 245 <% var bareChrome = (typeof bodyClass === 'string' && (bodyClass.indexOf('on-hub') >= 0 || bodyClass.indexOf('on-auth') >= 0)); %> 246 247 <% if (!bareChrome) { %> 247 248 <%- include('partials/topnav') %> 248 249 <%- include('partials/profile-header') %> … … 253 254 on non-feed pages (post, account, search, auth) it navigates to / 254 255 in the chosen view. Click logic is in shell.ejs at the bottom. %> 255 <% if (!isAdminPage && ! isHubLanding) { %>256 <% if (!isAdminPage && !bareChrome) { %> 256 257 <%- include('partials/view-switcher') %> 257 258 <% } %> … … 268 269 <%- include('partials/footer') %> 269 270 270 <!-- Mobile bottom-tab navigation (auto-hidden ≥768px) — niet op de hub-landing-->271 <% if (! isHubLanding) { %>271 <!-- Mobile bottom-tab navigation (auto-hidden ≥768px) — niet op landing/auth --> 272 <% if (!bareChrome) { %> 272 273 <%- include('partials/bottom-tab') %> 273 274 <% } %>
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)