2016-02-21 19:21:28 -05:00
|
|
|
module Banzai
|
|
|
|
module Pipeline
|
|
|
|
class PreProcessPipeline < BasePipeline
|
|
|
|
def self.filters
|
2016-02-21 19:22:02 -05:00
|
|
|
FilterArray[
|
|
|
|
Filter::YamlFrontMatterFilter
|
2016-02-21 19:21:28 -05:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.transform_context(context)
|
|
|
|
context.merge(
|
|
|
|
pre_process: true
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|