Sha256: ca175e665ba87138e6b52cb2241fd593dfa61026decdc423210e2e5c57769f2d

Contents?: true

Size: 419 Bytes

Versions: 12

Compression:

Stored size: 419 Bytes

Contents

# ----------------------------------------------------------------------------
# Frozen-string-literal: true
# Copyright: 2012 - 2016 - MIT License
# Encoding: utf-8
# ----------------------------------------------------------------------------

Jekyll::Assets::Hook.register :env, :init do
  asset_config["sources"] ||= []

  asset_config["sources"].each do |path|
    append_path jekyll.in_source_dir(path)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jekyll-assets-2.4.0 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.3.2 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.3.0 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.8 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.7 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.6 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.5 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.4 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.3 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.2 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.1 lib/jekyll/assets/hooks/sources.rb
jekyll-assets-2.2.0 lib/jekyll/assets/hooks/sources.rb