Sha256: 6ecd9578cca3b5fdbfba460dd6598e9bc74ff877ea609d611c13623f5e0e3f27
Contents?: true
Size: 415 Bytes
Versions: 3
Compression:
Stored size: 415 Bytes
Contents
# Inspired by jekyll-contentblocks https://github.com/rustygeldmacher/jekyll-contentblocks # module Octopress module Tags class YieldTag < Liquid::Tag def initialize(tag_name, markup, tokens) super @block_name = Helpers::ContentFor.get_block_name(tag_name, markup) end def render(context) Helpers::ContentFor.render(context, @block_name) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
octopress-ink-1.0.0.alpha.14 | lib/octopress-ink/tags/yield.rb |
octopress-ink-1.0.0.alpha.13 | lib/octopress-ink/tags/yield.rb |
octopress-ink-1.0.0.alpha.12 | lib/octopress-ink/tags/yield.rb |