Module: Jekyll::Assets::Filters

Defined in:
lib/jekyll/assets/filters.rb

Instance Method Summary collapse

Instance Method Details

#asset(path, args = "") ⇒ Object



11
12
13
14
15
16
# File 'lib/jekyll/assets/filters.rb', line 11

def asset(path, args = "")
  args = "#{path} #{args}"
  ctx = Liquid::ParseContext.new
  tag = Tag.new("asset", args, ctx)
  tag.render(@context)
end