This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 21e869c Mention front matter
21e869c is described below
commit 21e869c085e139e2624e210307b7db00fa9f8a4a
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Tue Jun 16 17:20:05 2020 +0200
Mention front matter
---
README.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/README.md b/README.md
index 9084357..71c68d3 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,16 @@ is replaced by the `sling_tagline` variable if it exists,
otherwise a MISSING_PA
Please use a `sling.` prefix for new site-related variables in
`jbake.properties`, to differentiate from JBake built-in variables.
+## Front Matter
+A number of Markdown front matter variables are taken into account, here's an
example:
+
+ title=Tutorials & How-Tos
+ type=page
+ status=published
+ tags=tutorials,beginner
+ tableOfContents=false
+ ~~~~~~
+
## Syntax highlighting
The site uses [highlight.js](https://highlightjs.org/) for that.