Sha256: e8b93ac84f083007c0fc8917fdb60ecf6fec3bff679d9b009beb55e87dd94105

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 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()
	puts "Jekyll site reset done"
	jekyll.setup()
	puts "Jekyll site setup done"
	jekyll.read()
	puts "Jekyll site read done"
	puts "Looks like everything is ready"
end

Version data entries

1 entries across 1 versions & 1 rubygems

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