BigW Consortium Gitlab

pre_process_pipeline.rb 312 Bytes
Newer Older
1 2 3 4
module Banzai
  module Pipeline
    class PreProcessPipeline < BasePipeline
      def self.filters
5 6
        FilterArray[
          Filter::YamlFrontMatterFilter
7 8 9 10 11 12 13 14 15 16 17
        ]
      end

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