lib/octopress-ink/jekyll/hooks.rb in octopress-ink-1.0.0.rc.8 vs lib/octopress-ink/jekyll/hooks.rb in octopress-ink-1.0.0.rc.9
- old
+ new
@@ -147,29 +147,9 @@
"#{title} #{config['marker']}"
end
end
end
- # Create a new page class to allow partials to trigger Jekyll Page Hooks.
- class ConvertiblePage
- include Convertible
-
- attr_accessor :name, :content, :site, :ext, :output, :data
-
- def initialize(site, name, content)
- @site = site
- @name = name
- @ext = File.extname(name)
- @content = content
- @data = { layout: "no_layout" } # hack
-
- end
-
- def render(payload)
- do_layout(payload, { no_layout: nil })
- end
- end
-
class Site
alias_method :write_orig, :write
# Called after write
def write