Sha256: eba53ae5a55f52deb8e7def798cb27e1a6481990392a4af2ae396279c7bb6dae
Contents?: true
Size: 608 Bytes
Versions: 5
Compression:
Stored size: 608 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
5 entries across 5 versions & 1 rubygems