Initial update to be compatible with Jekyll 2

This commit is contained in:
Brandon Mathis 2014-06-21 10:34:55 -05:00
parent 695fe922a9
commit 52f9119645
11 changed files with 79 additions and 711 deletions

View file

@ -1,8 +1,7 @@
#custom filters for Octopress
require './plugins/backtick_code_block'
require './plugins/post_filters'
require 'jekyll-page-hooks'
require './plugins/raw'
require './plugins/date'
require 'rubypants'
module OctopressFilters
@ -21,7 +20,7 @@ module OctopressFilters
end
module Jekyll
class ContentFilters < PostFilter
class ContentFilters < PageHooks
include OctopressFilters
def pre_render(post)
if post.ext.match('html|textile|markdown|md|haml|slim|xml')