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

🦕 Deno Deploy Docs 📓
Latest
03_page_config.md

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