Writing
You can use the following variables to replace with something else. Variables are enclosed by %variable_name%
where variable_name is the name of available variables you want. This feature can be used in content files where the content partial is used, such as documentation sections, home page, blog, etc.
To display the raw of the variable name itself, prefix with /
. For example, %/title%
FYI, variable processing is done by content partial.
Be warned that failure to retrieve the variable will render that string directly.
Available variables:
title
: The title of the page.date
: The published date in the local format, similar to post page.updated
: The updated date, similar to above format.description
: The description.
Example
---
title: Test
---
This page is titled %title%