Sha256: a55f644680f4d4e02ea56f7a43e90ad961f0fbe1db526c5212d5eb70c7bea93a
Contents?: true
Size: 418 Bytes
Versions: 59
Compression:
Stored size: 418 Bytes
Contents
module Liquid class Ifchanged < Block def render(context) context.stack do output = render_all(@nodelist, context) if output != context.registers[:ifchanged] context.registers[:ifchanged] = output output else '' end end end end Template.register_tag('ifchanged', Ifchanged) end
Version data entries
59 entries across 59 versions & 12 rubygems