Skip to content
Snippets Groups Projects
Commit 04eb115d authored by Holger Just's avatar Holger Just
Browse files

Add identity tag which just returns whatever was entered as input

parent 34fef9d8
Branches
Tags
No related merge requests found
module ChiliProject::Liquid::Tags
class Identity < Tag
def initialize(tag_name, markup, tokens)
@tag_name = tag_name
@markup = markup
@tokens = tokens
super
end
def render(context)
"{% #{@tag_name} %}"
end
end
end
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment