Class: JekyllBlocker::LiquidConverter

Inherits:
Jekyll::Converter
  • Object
show all
Defined in:
lib/jekyll-blocker/converters.rb

Instance Method Summary collapse

Instance Method Details

#convert(content) ⇒ Object



14
15
16
# File 'lib/jekyll-blocker/converters.rb', line 14

def convert(content)
  content
end

#matches(ext) ⇒ Object



6
7
8
# File 'lib/jekyll-blocker/converters.rb', line 6

def matches(ext)
  ext =~ /^\.liquid$/i
end

#output_ext(ext) ⇒ Object



10
11
12
# File 'lib/jekyll-blocker/converters.rb', line 10

def output_ext(ext)
  ".html"
end