--- title: Configuring Paradoc Pages subtitle: Configuring Your Pages description: Configuring Your Pages nextPage: styles rootPage: readme siteTemplate: siteTemplate.html
Page properties are configured in YAML Headers. The following table lists header properties that Paradoc pays attention to and uses to render your page.
Property | Purpose |
---|---|
title: |
Title rendered at top of page as <h0> |
subtitle: |
Subtle rendered below the title in the page. |
description: |
Description of page. |
hideInNav: |
Whether or not to hide in the sticky page navigation. |
hideInSearch: |
Hide page and contents in search results. |
siteTemplate: |
HTML page template to use to control overall layout of page (optional defaults to siteTemplate.html ) |
linkText: |
Text for links to the page (in the sticky navigation header) |
nextPage: |
Page that should come after this page in navigation header and search results ordering. |
rootPage: |
Root "main" page that (usually readme.html /index.html etc) |
To Add a new page after your current page:
- Set the
nextPage:
property of your current page's YAML header to be the root name of the new page (myNextPage
). - Make sure
myNextPage.html
exists and has the proper Paradoc script include. - As always make sure your current page and next page both include a
rootPage:
header property pointing back to the "first" page they are child pages of (usuallyreadme
orindex
).
<script src="site/Paradoc.js"></script>
---
title: My Current Page
nextPage: myNextPage
rootPage: readme
---
<script src="site/Paradoc.js"></script>
---
title: My Next Page
rootPage: readme
---
TODO: Document this.