Table of contents


Pages are Markdown files (or plain text files), stored in the content directory and organized in folders. Folders in the root are called Section (ie: "Blog", "Project", etc.).

A Page can contain a front matter and/or a body.

Front matter

Any file that contains a front matter will be processed to extract variables.

The front matter must be the first thing in the file and must be a valid YAML.


title: The title
date: 2013-01-01

Predefined variables

If a Page don't have a front matter, required variables are predefined as following.

Variable Description Default value
title Title File basename without extension, ie: Post 1
section Section Root directory of the file path, ie: Blog
layout Layout See Layout fallback logic, ie: post.html
date Date File modification datetime (PHP DateTime object)
menu Menu Contains a main menu with Homepage and Sections entries
permalink Permalink Page pathname, ie: blog/post-1


Body is the main content of the page, it could be written in Markdown or in plain text.


title: The title
date: 2013-01-01
    - tag 1
    - tag 2
customvar: 'Value of customvar'

# Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Suggest a modification Next