Skip to content

fix(page): render page title and fix top spacing on type:page pages - #668

Merged
Timur Tukaev (tym83) merged 1 commit into
mainfrom
fix/page-top-spacing-and-title
Aug 27, 2026
Merged

fix(page): render page title and fix top spacing on type:page pages#668
Timur Tukaev (tym83) merged 1 commit into
mainfrom
fix/page-top-spacing-and-title

Conversation

@tym83

Copy link
Copy Markdown
Contributor

Summary

Pages using type: page render 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: page content mounts 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.

Fix

  • page/single.html + new page/list.html: render the page title as <h1>
  • _page.scss: collapse-proof padding-top on .page
  • community.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.

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>
@netlify

netlify Bot commented Aug 27, 2026

Copy link
Copy Markdown

Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit e6e739f
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/6a904dad24367f0008680411
😎 Deploy Preview https://deploy-preview-668--cozystack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ac6edcc7-4293-45b5-a4a6-07cdd51cb4ea


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@tym83
Timur Tukaev (tym83) merged commit 390fc10 into main Aug 27, 2026
7 checks passed
@tym83
Timur Tukaev (tym83) deleted the fix/page-top-spacing-and-title branch August 27, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant