lib/octopress-ink.rb in octopress-ink-1.0.0.rc.19 vs lib/octopress-ink.rb in octopress-ink-1.0.0.rc.20
- old
+ new
@@ -10,20 +10,10 @@
require 'octopress-ink/version'
require 'octopress-ink/configuration'
require 'octopress-ink/jekyll/hooks'
module Octopress
- 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
-
module Ink
autoload :Assets, 'octopress-ink/assets'
autoload :Convertible, 'octopress-ink/jekyll/convertible'
autoload :Page, 'octopress-ink/jekyll/page'
@@ -221,9 +211,11 @@
Liquid::Template.register_tag('css_asset_tag', Octopress::Ink::Tags::StylesheetTag)
Liquid::Template.register_tag('js_asset_tag', Octopress::Ink::Tags::JavascriptTag)
Octopress::Docs.add({
name: "Octopress Ink",
+ description: "A framework for creating Jekyll quality themes and plugins",
slug: "ink",
- dir: File.expand_path(File.join(File.dirname(__FILE__), "../")),
+ path: File.expand_path(File.join(File.dirname(__FILE__), "../")),
+ source_url: "https://github.com/octopress/ink",
base_url: "docs/ink"
})