lib/octopress-ink/assets/layout.rb in octopress-ink-1.0.0.rc.11 vs lib/octopress-ink/assets/layout.rb in octopress-ink-1.0.0.rc.13

- old
+ new

@@ -14,10 +14,10 @@ dir = user_dir if !exists?(File.join(dir, file)) dir = plugin_dir end - Ink.site.layouts[name] = Jekyll::Layout.new(Ink.site, dir, file) + Octopress.site.layouts[name] = Jekyll::Layout.new(Octopress.site, dir, file) end def name name = "#{plugin.slug}:#{file}" # remove extension