Sha256: 1048840ba7e135a7577f2cf71efdf7fc3e877d5d95aeff9dbe183d002ec7f8d1

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

# Generate script code for Google Analytics with Liquid Tag
require 'jekyll'
require 'jekyll/bower_plugin'
require 'jekyll/plugin_version'

# Register Jekyll Site Post Read hook of Bower plugin
Jekyll::Hooks.register :site, :after_init do |jekyll| # jekyll here acts as site global object
	JekyllBower = Jekyll::Bower.new()
	JekyllBower.resolve(jekyll)
	puts "Reading newly generated bower components"
	jekyll.reset()
	jekyll.setup()
	jekyll.read()
	puts "Looks like everything is ready"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-bower-1.1.4 lib/jekyll-bower.rb