Sha256: d9a21a84041fbb6249e6683eae832ab0a3e23f6efad3653ab0a6c314964de4b6
Contents?: true
Size: 604 Bytes
Versions: 1
Compression:
Stored size: 604 Bytes
Contents
# internal require "jekyll/assets_plugin/renderer" module Jekyll module AssetsPlugin module Filters %w{ asset asset_path image javascript stylesheet }.each do |name| module_eval <<-RUBY, __FILE__, __LINE__ def #{name} path # def stylesheet logical_path r = Renderer.new @context, path # r = Renderer.new @context, path r.render_#{name} # r.render_stylesheet end # end RUBY end end end end Liquid::Template.register_filter Jekyll::AssetsPlugin::Filters
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-assets-0.7.7 | lib/jekyll/assets_plugin/filters.rb |