Skip to content

feat: add support for page layout within navigation - #37

Merged
atinux merged 2 commits into
mainfrom
feat/page-layout
Sep 2, 2026
Merged

feat: add support for page layout within navigation#37
atinux merged 2 commits into
mainfrom
feat/page-layout

Conversation

@atinux

@atinux atinux commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

It's now possible to set a page layout for orphan pages in two ways:

In a page

---
title: My page
navigation:
  layout: 'page'
---

...

Demo: https://comark-docs-layer-git-feat-page-layout-nuxtlabs.vercel.app/page

In a directory

Use the .navigation.yml to set a group of pages to use the page layout:

layout: page

Demo: https://comark-docs-layer-git-feat-page-layout-nuxtlabs.vercel.app/pages/test

That's it :)

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
comark-docs-layer Ready Ready Preview Sep 2, 2026 3:27pm UTC

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Documentation previews

📚 Preview all documentation changes (follows new pushes)

Pinned to the current head: 95d5234

@pkg-pr-new

pkg-pr-new Bot commented Sep 2, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/comarkdown/comark-docs@37

commit: 95d5234

@atinux
atinux merged commit f97dc86 into main Sep 2, 2026
6 checks passed
@atinux
atinux deleted the feat/page-layout branch September 2, 2026 15:46
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