module Templates

Overview

The Templates module is a singleton that provides access to the templates. The loader will look for templates in several places:

It will also try to load it with and without adding the .j2 extension.

You can see the provided templates in Github and adapt them to your needs: make a copy and pass it in the -t option to Crycco.

Extended Modules

Defined in:

templates.cr

Constant Summary

Env = Crinja.new

Instance Method Summary

Instance Method Detail

def get(name : String) : Crinja::Template #

[View source]