Sha256: 1c2dccbeed3461f4cf743e7171c0f20c4cc34d887af75d5e1acf011d187eda53

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

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'
  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='plugin')
    Plugins.register_plugin(plugin, name, type)
  end
end

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)
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

1 entries across 1 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.alpha.15 lib/octopress-ink.rb