lib/octopress-ink/plugins/ink.rb in octopress-ink-1.0.0.alpha.36 vs lib/octopress-ink/plugins/ink.rb in octopress-ink-1.0.0.alpha.37
- old
+ new
@@ -1,12 +1,14 @@
class Ink < Octopress::Ink::Plugin
-
- def initialize(name, type)
- @assets_path = File.expand_path(File.join(File.dirname(__FILE__), '../../../assets'))
- @version = Octopress::Ink::VERSION
- @description = "Octopress Ink is a plugin framework for Jekyll"
- @website = "http://octopress.org/ink"
- super
+ def configuration
+ {
+ name: "Octopress Ink",
+ slug: "ink",
+ assets_path: File.expand_path(File.join(File.dirname(__FILE__), '../../../assets')),
+ version: Octopress::Ink::VERSION,
+ description: "Octopress Ink is a plugin framework for Jekyll",
+ website: "http://octopress.org/ink"
+ }
end
def docs_base_path
'docs/ink'
end