Class: Jekyll::Assets::Plugins::FrontMatter
- Inherits:
-
Object
- Object
- Jekyll::Assets::Plugins::FrontMatter
- Defined in:
- lib/jekyll/assets/plugins/frontmatter.rb
Constant Summary collapse
- REGEXP =
Jekyll::Document::YAML_FRONT_MATTER_REGEXP
Instance Method Summary collapse
Instance Method Details
#call(input) ⇒ Object
12 13 14 15 16 |
# File 'lib/jekyll/assets/plugins/frontmatter.rb', line 12 def call(input) { data: input[:data].gsub(REGEXP, ""), } end |