HTML Templates

Unlike Neuron, Emanote’s generated HTML can be completely customized. Emanote uses the Heist HTML template system that supports non-trivial constructs like recursion; see here for a tutorial on its syntax.

The default HTML templates are stored in the default layer, which can you override either totally or in subset.

Default Layout

Emanote includes a default layout that includes a Sidebar, but can be customized to mimic Neuron-like layout. You may also write your own HTML layout from scratch, as long as you specify that template in YAML configuration for the notes in question. For eg., templates/home.tpl is how homepage is generated, because its specifies this template as in its YAML frontmatter (which could also be index.yaml).


Links to this page