Skip to content

fix(layouts): opt out of empty-page warning via layout_content#1966

Merged
markdumay merged 2 commits into
mainfrom
fix/empty-page-layout-content
Jun 25, 2026
Merged

fix(layouts): opt out of empty-page warning via layout_content#1966
markdumay merged 2 commits into
mainfrom
fix/empty-page-layout-content

Conversation

@markdumay

Copy link
Copy Markdown
Collaborator

Pages whose body is rendered entirely by a custom-type layout (e.g. content-adapter OpenAPI or godoc reference pages) have no RawContent or content_blocks by design, yielding a false-positive warning. Honor a new layout_content page param to skip the check. Existing pages are unaffected (backward compatible).

Pages whose body is rendered entirely by a custom-type layout (e.g.
content-adapter OpenAPI or godoc reference pages) have no RawContent
or content_blocks by design, yielding a false-positive warning.
Honor a new layout_content page param to skip the check. Existing
pages are unaffected (backward compatible).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@netlify

netlify Bot commented Jun 25, 2026

Copy link
Copy Markdown

Deploy Preview for gethinode-demo ready!

Name Link
🔨 Latest commit d2cf109
🔍 Latest deploy log https://app.netlify.com/projects/gethinode-demo/deploys/6a3cc6d899ab6a0008ca54e8
😎 Deploy Preview https://deploy-preview-1966--gethinode-demo.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.

@markdumay markdumay merged commit 9466211 into main Jun 25, 2026
15 checks passed
@markdumay markdumay deleted the fix/empty-page-layout-content branch June 25, 2026 06:20
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.13.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant