class

Kamil::Content::CrinjaResolver

Inherits Kamil::Content::LayoutResolver < Reference < Object

Constants

SUPPORTED_EXTENSIONS = [".html", ".htm", ".crinja", ".jinja", ".jinja2", ".j2", ""]

Constructors

new(layouts_dir : Path | String = Path["layouts"])
Source

Instance methods

environment
Source
layouts_dir
Source
render(layout_name : String, context : Crinja::Context) : String
Source
template_exists?(layout_name : String) : Bool
Source