|
|
@ -17,9 +17,10 @@ module OctopressFilters
|
|
|
|
end
|
|
|
|
end
|
|
|
|
def self.post_filter(page)
|
|
|
|
def self.post_filter(page)
|
|
|
|
if page.ext.match('html|textile|markdown|md|haml|slim|xml')
|
|
|
|
if page.ext.match('html|textile|markdown|md|haml|slim|xml')
|
|
|
|
input = TemplateWrapper::unwrap(page.content)
|
|
|
|
page.output = TemplateWrapper::unwrap(page.output)
|
|
|
|
page.content = RubyPants.new(input).to_html
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
page.output = RubyPants.new(page.output).to_html
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
class PageFilters < Octopress::Hooks::Page
|
|
|
|
class PageFilters < Octopress::Hooks::Page
|
|
|
|