class Crinja::Tag::From

Overview

Crinja supports putting often used code into macros. These macros can go into different templates and get imported from there. It’s important to know that imports can be cached and imported templates don’t have access to the current template variables, just the globals by default.

See Jinja2 Template Documentation for details.

Defined in:

lib/tag/from.cr

Instance Method Summary

Instance methods inherited from class Crinja::Tag

end_tag : String? end_tag, has_block?(node : TagNode) has_block?, interpret_output(renderer : Renderer, tag_node : TagNode) interpret_output, to_s(io) to_s

Instance Method Detail

def end_tag : String? #

[View source]
def name : String #

[View source]