Class: Jekyll::StitchPlusTag
- Inherits:
-
Liquid::Tag
- Object
- Liquid::Tag
- Jekyll::StitchPlusTag
- Defined in:
- lib/jekyll-stitch-plus.rb
Instance Method Summary collapse
-
#initialize(tag_name, text, tokens) ⇒ StitchPlusTag
constructor
A new instance of StitchPlusTag.
- #render(context) ⇒ Object
Constructor Details
#initialize(tag_name, text, tokens) ⇒ StitchPlusTag
Returns a new instance of StitchPlusTag.
70 71 72 |
# File 'lib/jekyll-stitch-plus.rb', line 70 def initialize(tag_name, text, tokens) super end |
Instance Method Details
#render(context) ⇒ Object
74 75 76 |
# File 'lib/jekyll-stitch-plus.rb', line 74 def render(context) context.registers[:site].config['stitch']['js_tag'] end |