Repository navigation
Add experimental lean-render build mode to drop repeated chrome - #2660
Merged
Merged
Conversation
- Contributes to docsy#2659 - Adds an experimental `td.lean_render` build mode that omits repeated chrome (navbar, footer, left-nav) so any HTML link checker reaches each unique link once instead of once per page: - Introduces `_partials/lean-render.html` as the gate (`"remove"` mode, case-insensitive; any falsy or unknown value leaves output byte-for-byte unchanged) - Wraps `navbar.html`, `footer.html`, and `sidebar.html` in the gate - Documents the mode in the user guide as experimental (with a caution noting its assumptions, including the `version_menu_pagelinks` case) and adds a lean changelog highlight; the best-practices section now uses natural page order (drops stale `weight: 9` front matter) - Renames the shared `mono-site` test harness to `fixture-site` and adds lean-render tests; updates `package.json` scripts and maintainer notes - Fixes an incidental Goldmark capitalization and adds a `goldmark` cspell entry
- Softens the "full coverage" claim to "keep its repeated links reachable", since some chrome links fall outside lean render's assumptions - Documents that the navbar language selector's per-page translation links stay covered by the destination locale's left-nav - Notes that navbar/footer links are config-defined apart from the language selector and optional version menu
- Adds a fixture test that enables lean render through params.td.lean_render in site config, guarding the documented config path alongside the existing environment overrideHUGOx
3 of 6 tasks
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Jun 26, 2026
- Contributes to docsy#2615 - Adds an experimental "shared chrome build mode" section to the 0.16.0 release report, with a highlights entry, a release-summary bullet, and an Actions block; links to the Chrome build modes guide and flags it experimental (docsy#2659, docsy#2660, docsy#2662). - Bumps the project Hugo build from 0.163.1 to 0.163.2 across both posts (docsy#2658). - Documents the 0.163.2 PostCSS/Netlify ERR_ACCESS_DENIED fix and the niche Pandoc/reStructuredText build-failure change in the Hugo upgrade guide.
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Jun 26, 2026
- Contributes to docsy#2615 - Bumps last-main-commit to b3ce927 and adds ledger rows for the five commits since f312828: Hugo 0.163.2 (docsy#2658), the Russian locale sync (docsy#2590), lean-render (docsy#2660), the link-check matrix (docsy#2661), and the shared chrome build mode (docsy#2662). - Records the shared chrome build mode as the headline experimental feature, routed as one blog section spanning docsy#2660 and docsy#2662, with docsy#2661 as internal tooling. - Updates the Hugo theme summary and decisions for the 0.163.2 build bump.
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Jun 26, 2026
- Renames the stale "mono-site" wording to "fixture-site" in the 0.16.0 release post, matching the test harness renamed on main. - Adds docsy#2660 and docsy#2662 to the changelog's experimental shared-chrome entry for traceability, matching the blog post and the other changelog entries. - Updates the chrome-render.html comment from "configured chrome" to "config-defined" to match the published Chrome build modes docs.
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Jun 26, 2026
- Renames the stale "mono-site" wording to "fixture-site" in the 0.16.0 release post, matching the test harness renamed on main. - Adds docsy#2660 and docsy#2662 to the changelog's experimental shared-chrome entry for traceability, matching the blog post and the other changelog entries. - Updates the chrome-render.html comment from "configured chrome" to "config-defined" to match the published Chrome build modes docs.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sharedchrome build mode (client-side chrome restoration) #2659td.lean_renderbuild mode that drops repeated chrome (navbar, footer, left-nav) so a link checker reaches each unique link once instead of once per page.