Sha256: 72c4f85ee28d6ccef6f588700cbfbecff94f69b72ad580d0d56b6538d18b953e
Contents?: true
Size: 398 Bytes
Versions: 6
Compression:
Stored size: 398 Bytes
Contents
# 3rd-party require "liquid" # internal require "jekyll/assets_plugin/renderer" module Jekyll module AssetsPlugin class Tag < Liquid::Tag def render(context) Renderer.new(context, @markup).send :"render_#{@tag_name}" end end end end %w(asset asset_path image javascript stylesheet).each do |tag| Liquid::Template.register_tag tag, Jekyll::AssetsPlugin::Tag end
Version data entries
6 entries across 6 versions & 1 rubygems