AcyOrt use Swig as theme Template Engine. Visit http://node-swig.github.io/swig-templates/ for more information.

You can custom template engine by registering renderer

example

A theme should have the following structure

.
├─ layout
├─ i18n
└─ source

layout

The theme’s template files, and the extension is .html

Template Description
index home
post posts
page pages
category single category
tag single tag
categories all categories
tags all tags

i18n

Theme language files. YAML config files.

source

Place your assets (e.g. CSS and JavaScript files) here. AcyOrt will process and save all files to the public_dir folder.

Contents