Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions fern/products/docs/pages/navigation/frontmatter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,21 @@ hide-page-actions: true
```
</CodeBlock>

## Header
<ParamField path="hide-header-tabs" type="boolean" required={false} default={false}>
Hides the tabs row on this page, keeping the header bar (logo, search, and navbar links). Useful for a custom landing page that supplies its own navigation. Applies only when [`layout.tabs-placement`](/learn/docs/configuration/site-level-settings#layouttabs-placement) or [`theme.tabs.placement`](/learn/docs/configuration/site-level-settings#themetabsplacement) is `header`.
</ParamField>

<CodeBlock title="landing-page.mdx">
```mdx
---
title: Landing Page
layout: custom
hide-header-tabs: true
---
```
</CodeBlock>

## Page logo
<ParamField path="logo" type="object" required={false}>
Override the site-wide logo for a page. Specify different logos for light and dark modes using absolute URLs.
Expand Down
2 changes: 2 additions & 0 deletions fern/products/docs/pages/navigation/site-level-settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,8 @@ layout:
<ParamField path="layout.tabs-placement" type="string" required={false} default="sidebar" toc={true}>
Set the placement of the tabs. Can be one of `header` or `sidebar`.

With `header`, individual pages can hide the tabs row using the [`hide-header-tabs` frontmatter](/learn/docs/configuration/page-level-settings#header), which suits a custom landing page that supplies its own navigation.

<Note>This setting is ignored when `disable-header` is set to true.</Note>
</ParamField>

Expand Down
Loading