jekyll-stealthy-share/lib/jekyll/stealthy_share/generator.rb

19 lines
341 B
Ruby
Raw Permalink Normal View History

2018-01-09 05:50:29 +00:00
require 'jekyll/generator'
module Jekyll
module StealthyShare
class Generator < Jekyll::Generator
def generate(site)
StealthyShare.site = site
site.static_files << StaticFile.new(
site,
StealthyShare.base_path,
'assets',
'share.css'
)
end
end
end
end