lib/octopress-ink.rb in octopress-ink-1.0.0.alpha.14 vs lib/octopress-ink.rb in octopress-ink-1.0.0.alpha.15
- old
+ new
@@ -1,12 +1,14 @@
require 'jekyll'
require 'digest/md5'
+require 'octopress-ink/version'
require 'octopress-ink/generators/plugin_assets'
require 'octopress-ink/jekyll/hooks'
require 'octopress-ink/version'
require 'octopress-ink/helpers/content_for'
+require 'pry-debugger'
module Octopress
CUSTOM_DIR = "_custom"
autoload :Assets, 'octopress-ink/assets'
@@ -15,15 +17,15 @@
autoload :Plugins, 'octopress-ink/plugins'
autoload :Plugin, 'octopress-ink/plugin'
autoload :Tags, 'octopress-ink/tags'
autoload :SassPlugin, 'octopress-ink/plugins/sass'
- def self.register_plugin(plugin, name, type)
+ def self.register_plugin(plugin, name, type='plugin')
Plugins.register_plugin(plugin, name, type)
end
end
-Liquid::Template.register_tag('embed', Octopress::Tags::EmbedTag)
+Liquid::Template.register_tag('include', Octopress::Tags::IncludeTag)
Liquid::Template.register_tag('octopress_js', Octopress::Tags::JavascriptTag)
Liquid::Template.register_tag('octopress_css', Octopress::Tags::StylesheetTag)
Liquid::Template.register_tag('content_for', Octopress::Tags::ContentForBlock)
Liquid::Template.register_tag('head', Octopress::Tags::HeadBlock)
Liquid::Template.register_tag('footer', Octopress::Tags::FooterBlock)