Initial update to be compatible with Jekyll 2
This commit is contained in:
parent
695fe922a9
commit
52f9119645
11 changed files with 79 additions and 711 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue