|
||||
0001 module Jekyll 0002 class ProductionTag < Liquid::Block 0003 0004 def initialize(tag_name, markup, tokens) 0005 super 0006 end 0007 0008 def render(context) 0009 if ENV['PRODUCTION'] then super else "" end 0010 end 0011 end 0012 end 0013 0014 Liquid::Template.register_tag('production', Jekyll::ProductionTag)
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |