Add HTML pages guide page (write pages with HTML and ERB) - #8
Open
fcatuhe wants to merge 2 commits into
Open
Conversation
Add a second Decant collection for pages written in plain HTML with ERB, skipping kramdown: HtmlPage model over content/html_pages, a render_erb helper (also reused by render_content_from), controller, view, route and a demo page.
New extras page (position 14) documenting the HTML pages commit, appended to the going-further chain after sitemap-and-robots and listed under a new Content group in What next?
fcatuhe
force-pushed
the
document-html-erb-pages
branch
from
July 19, 2026 11:49
985936d to
bc72c61
Compare
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
Documents Decant's HTML/ERB content variant as a new guide page in the flow (not a section), backed by a real working implementation in this repo — matching the guide's pattern where every page documents an applied commit.
Flow placement
Appended to the going-further extras, after Generate sitemaps and robots.txt, in its own Content group:
Zero renumbering — only
sitemap-and-robots' forward arrow is rewired, andnext.mdgains a Content group after Styling and SEO.Commits
HtmlPageDecant model overcontent/html_pages(ext: "html.erb"),render_erbhelper (reused byrender_content_from), controller, view,/html/*slugroute, and a live demo page at/html/democontent/pages/html-pages.md(position 14) with permalinks pinned to commit 1's SHA, nav footer wiring, and the next.md Content groupVerification
/html-pages,/html/demo, rewired nav on/sitemap-and-robotsand/nextall render (Ruby 4.0.6 / Rails 8.1.3)sitemap.xml(16 URLs)<%%ERB escaping verified in code samples; RuboCop clean