blob: 9f870cf2137af55ca17b01bb353bb938dd282bd4 [file] [log] [blame]
module Jekyll
class ProductionTag < Liquid::Block
def initialize(tag_name, markup, tokens)
super
end
def render(context)
if ENV['PRODUCTION'] then super else "" end
end
end
end
Liquid::Template.register_tag('production', Jekyll::ProductionTag)