lib/octopress-ink.rb in octopress-ink-1.0.0.rc.14 vs lib/octopress-ink.rb in octopress-ink-1.0.0.rc.15

- old
+ new

@@ -55,9 +55,26 @@ version << "Octopress v#{Octopress::VERSION} " end version << "Octopress Ink v#{Octopress::Ink::VERSION}" end + def self.payload + config = Plugins.config + ink_payload = { + 'plugins' => config['plugins'], + 'theme' => config['theme'], + 'octopress' => { + 'version' => version + } + } + + if Octopress.config['docs_mode'] + ink_payload['doc_pages'] = Ink::Plugins.doc_pages + end + + ink_payload + end + # Register a new plugin # # plugin - A subclass of Plugin # def self.register_plugin(plugin)