Sha256: 1da3a1a6a5488a67f13efd7fed8d41697bf5ab292857fb059738705794f170e7
Contents?: true
Size: 643 Bytes
Versions: 3
Compression:
Stored size: 643 Bytes
Contents
# internal require 'jekyll/assets_plugin/logging' require 'jekyll/assets_plugin/asset_file' module Jekyll module AssetsPlugin # Jekyll hook that bundles all files specified in `bundles` config # class Generator < ::Jekyll::Generator include Logging safe false priority :low def generate site filenames = site.assets_config.bundle_filenames site.assets.each_logical_path(filenames).each do |logical_path| if asset = site.assets.find_asset(logical_path) site.static_files << AssetFile.new(site, asset) if asset end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-assets-0.1.2 | lib/jekyll/assets_plugin/generator.rb |
jekyll-assets-0.1.1 | lib/jekyll/assets_plugin/generator.rb |
jekyll-assets-0.1.0 | lib/jekyll/assets_plugin/generator.rb |