Applies a template to a file.
Spignite supports the following templating engines:
Layout resolving is part of the Spignite. Templates are resolved using the following order:
the value of
layout attribute (from frontmatter or attributes files)
using files base name
using files full name
base as default layout name.
For each above step, layouts are searched for in corresponding folder and parent folders.