Beulogue - Documentation

Templating fr en

You have 2 html files to provide, they must be in the templates folder of your site:

The templating engine is mustache.

Mustache 101

If you have a variable title, use {{title}} in your template to display it.

All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache: {{{name}}}.

If you have a variable pages which is a list of objects with a title property, you can loop using:


If you want a conditional rendering for title whether it has or not a value, use:

  Title is displayed ! {{title}}

Go to the mustache help for more info.

Variables for the page template

Variables for the list template

If you use the or feature to include content in your list template, you'll get a merge of the page and list variables.

⬅️ emojis || multilingual ➡️