Sha256: 597dfd9ad1bff26908f789c60876d1646912826f21d840e09f52e0a72e03a213

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

require 'jekyll'
require 'pry-debugger'
require 'digest/md5'

require 'octopress-ink/generators/plugin_assets'
require 'octopress-ink/jekyll/hooks'
require 'octopress-ink/version'
require 'octopress-ink/helpers/content_for'

module Octopress
  CUSTOM_DIR = "_custom"

  autoload :Assets,               'octopress-ink/assets'
  autoload :StaticFile,           'octopress-ink/assets/static_file'
  autoload :StaticFileContent,    'octopress-ink/assets/static_file_content'
  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)
    Plugins.register_plugin(plugin, name, type)
  end
end

Liquid::Template.register_tag('embed', Octopress::Tags::EmbedTag)
Liquid::Template.register_tag('theme_js', Octopress::Tags::JavascriptTag)
Liquid::Template.register_tag('theme_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)
Liquid::Template.register_tag('scripts', Octopress::Tags::ScriptsBlock)
Liquid::Template.register_tag('yield', Octopress::Tags::YieldTag)
Liquid::Template.register_tag('wrap_yield', Octopress::Tags::WrapYieldBlock)

Octopress.register_plugin(Octopress::SassPlugin, 'sass', 'local_plugin')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.alpha.13 lib/octopress-ink.rb
octopress-ink-1.0.0.alpha.12 lib/octopress-ink.rb