Skip to content

Commit

Permalink
Add docs for render = false on pages
Browse files Browse the repository at this point in the history
  • Loading branch information
clarfonthey committed Dec 21, 2023
1 parent 6b40edc commit bacfaf2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/content/documentation/content/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ weight = 0
# A draft page is only loaded if the `--drafts` flag is passed to `zola build`, `zola serve` or `zola check`.
draft = false

# Whether to render the page or not. Defaults to `true`.
# Useful when the page is only there to organize things but is not meant to be used directly,
# like as a component of another page
render = true

# If set, this slug will be used instead of the filename to make the URL.
# The section path will still be used.
slug = ""
Expand Down

0 comments on commit bacfaf2

Please sign in to comment.