Templates
Templates live in the templates/ directory. They're Tera templates. The organization of the templates is arbitrary. Any number of Pages can link to a template. A Page can associate with a single Template.
Access data in templates
These are template variables available:
content, which contains HTML converted from the Markdown of the available Page. It needs to be escaped; when you refer to it, writecontent | safe.section, which provides information about the Section containing this Page.
A trivial template could look like this:
<!DOCTYPE html>
<html>
<head></head>
<body>
{{ content | safe}}
</body>
</html>

GitHub