Sha256: 1aeffd55f73ef1b4384909a413df97eaad91e5b20888236233bbba983f63b7b1

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

module Jekyll
  module Assets
    module Filters
      %W(js css img image javascript stylesheet style asset_path).each do |v|
        define_method v do |path, args = ""|
          Tag.send(:new, v, "#{path} #{args}", "").render(
            @context
          )
        end
      end
    end
  end
end

Liquid::Template.register_filter(
  Jekyll::Assets::Filters
)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-assets-2.0.0.pre.beta2 lib/jekyll/assets/filters.rb
jekyll-assets-2.0.0.pre.beta1 lib/jekyll/assets/filters.rb