Skip to main content
Module

x/diplodocus/docs/docs/03_page_config.md

πŸ¦• Deno Deploy Docs πŸ““
Go to Latest
File

Page Configuration

Each markdown files can have configurations in YAML frontmatter.

Format

---
title: First page
---

# Hello World

This is my awesome message.

Available keys

title

  • Type: string
  • Default: content in first <h1> element

Page title.

prev

  • Type: PageLink
  • Default: undefined

The link to the previous page. This is set automatically in listPages.

next

  • Type: PageLink
  • Default: undefined

The link to the next page. This is set automatically in listPages.

page specified options

These keys are available to override the site global configurations.

  • lang
  • description
  • favicon
  • image
  • tocLevels
  • removeDefaultStyles
  • bottomHead
  • bottomBody