fix(page): render page title and fix top spacing on type:page pages - #668
Merged
Merged
Conversation
Pages using `type: page` mount their content directly inside `.td-main` with no <main> wrapper, so Docsy's `.td-main main` fixed-navbar offset never applies and the `.page` top margin collapses. The result: content sits flush against the navbar and no page title is shown — most visible on the Compliance section (index intro and each framework page). - page/single.html + new page/list.html: render the title as <h1> - _page.scss: add collapse-proof padding-top to .page - community.md: drop the redundant body-level '# Community' (title renders it now) Affects Compliance (index + framework pages), Community and Support. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: tym83 <6355522@gmail.com>
Timur Tukaev (tym83)
requested review from
Andrei Kvapil (kvaps),
Timofei Larkin (lllamnyp) and
myasnikovdaniil
as code owners
August 27, 2026 14:46
✅ Deploy Preview for cozystack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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
Pages using
type: pagerender their content flush against the fixed navbar, with no page title shown at all — most visible on the Compliance section (index intro and each framework page).Cause
type: pagecontent mounts directly inside.td-mainwith no<main>wrapper, so Docsy's.td-main mainfixed-navbar offset never applies and the.pagetop margin collapses.Fix
page/single.html+ newpage/list.html: render the page title as<h1>_page.scss: collapse-proofpadding-topon.pagecommunity.md: drop the redundant body-level# Community(title renders it now)Affected
Compliance (index + framework pages), Community, Support.
Preview
Verified locally (Hugo build + screenshots). Please check the Netlify deploy preview.