Sha256: f272a48e77eb6ec2f6b70390a5e9942356bb93107b7d1066ca24105f34da5c86
Contents?: true
Size: 395 Bytes
Versions: 4
Compression:
Stored size: 395 Bytes
Contents
module Liquid # InheritedContent pulls out the content from child templates that isnt defined in blocks # # {% defaultcontent %} # class DefaultContent < Tag def initialize(tag_name, markup, tokens, context) super end def render(context) context.stack do "HELLO" end end end Template.register_tag('defaultcontent', DefaultContent) end
Version data entries
4 entries across 4 versions & 2 rubygems