[V2:01] Prepare Theme for Local Build Rendering#11
Open
ritorhymes wants to merge 1 commit into
Open
Conversation
Render external requires entries as direct links without forcing Zola to resolve them as local pages. This supports targeted --only rendering, where cross-repo proposal dependencies can be rewritten to external URLs instead of local pages. Move the theme demo homepage badges into front matter, a homepage_badges macro, and theme-owned styles so the demo homepage stays markdown-friendly. Declare Zola 0.22.1 as the minimum supported version, enable bottom footnotes, and update markdown highlighting to the class-based config with github-light/dark themes and ABNF/CSL-JSON grammars.
This was referenced May 5, 2026
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.
Summary
This PR is the theme-side foundation for the V2 multi-repo local build system. Its load-bearing change is rendering absolute
requiresentries as direct links so later targeted EIP/ERC builds can emit cross-repo proposal dependencies; the homepage badge restructuring and Zola 0.22.1 configuration updates are bundled theme-version updates that touch the same rendering and configuration surface.requiresentries as direct links instead of resolving them as local Zola pages.Review Notes
This is the theme-side prerequisite for V2:15. Targeted
--onlyrendering can rewrite cross-repo proposal dependencies into external URLs, and the theme needs to render those URLs directly instead of treating everyrequiresentry as a local page reference.The homepage badge change applies to the theme demo homepage. EIPs and ERCs do not need to provide
homepage_badgesin this stack; repositories without that front matter continue rendering their homepage content normally.This PR does not add targeted rendering or change preprocessor behavior. It only updates theme rendering/configuration needed by the final local build flow.
Verification
templates/eip.htmlfor externalrequiresrendering.content/_index.md,templates/index.html,templates/macros.html, andsass/assets/css/style.scssfor demo homepage badge rendering and styling.config.tomlandtheme.tomlfor the Zola 0.22.1, footnote, highlighting, and grammar configuration updates.