lib/octopress-ink.rb in octopress-ink-1.0.0.rc.18 vs lib/octopress-ink.rb in octopress-ink-1.0.0.rc.19
- old
+ new
@@ -10,34 +10,25 @@
require 'octopress-ink/version'
require 'octopress-ink/configuration'
require 'octopress-ink/jekyll/hooks'
module Octopress
- def self.site(options={})
- @site ||= init_site(options)
- end
-
def self.site=(site)
# Octopress historically used site.title
# This allows theme developers to expect site.name
# in consistancy with Jekyll's scaffold config
site.config['name'] ||= site.config['title']
@site = site
end
- def self.init_site(options)
- Jekyll.logger.log_level = :error
- site = Jekyll::Site.new(Jekyll.configuration(options))
- Jekyll.logger.log_level = :info
- site
- end
-
module Ink
autoload :Assets, 'octopress-ink/assets'
+ autoload :Convertible, 'octopress-ink/jekyll/convertible'
autoload :Page, 'octopress-ink/jekyll/page'
+ autoload :Layout, 'octopress-ink/jekyll/layout'
autoload :StaticFile, 'octopress-ink/jekyll/static_file'
autoload :StaticFileContent, 'octopress-ink/jekyll/static_file_content'
autoload :Plugins, 'octopress-ink/plugins'
autoload :Plugin, 'octopress-ink/plugin'
autoload :PluginAssetPipeline, 'octopress-ink/plugin_asset_pipeline'