Class: Banzai::Pipeline::PreProcessPipeline

Inherits:
BasePipeline show all
Defined in:
lib/banzai/pipeline/pre_process_pipeline.rb

Class Method Summary collapse

Methods inherited from BasePipeline

html_pipeline

Class Method Details

.filtersObject


4
5
6
7
8
# File 'lib/banzai/pipeline/pre_process_pipeline.rb', line 4

def self.filters
  FilterArray[
    Filter::YamlFrontMatterFilter
  ]
end

.transform_context(context) ⇒ Object


10
11
12
13
14
# File 'lib/banzai/pipeline/pre_process_pipeline.rb', line 10

def self.transform_context(context)
  context.merge(
    pre_process: true
  )
end