class Jekyll::Spaceship::Type

Constants

CSS_EXTENSIONS
HTML_BLOCK_TYPE_MAP
HTML_EXTENSIONS
MD_EXTENSIONS

Public Class Methods

css?(_ext) click to toggle source
# File lib/jekyll-spaceship/cores/type.rb, line 29
def self.css?(_ext)
  CSS_EXTENSIONS.include?(_ext)
end
html?(_ext) click to toggle source
# File lib/jekyll-spaceship/cores/type.rb, line 25
def self.html?(_ext)
  HTML_EXTENSIONS.include?(_ext)
end
html_block_type(type) click to toggle source
# File lib/jekyll-spaceship/cores/type.rb, line 37
def self.html_block_type(type)
  HTML_BLOCK_TYPE_MAP[type]
end
markdown?(_ext) click to toggle source
# File lib/jekyll-spaceship/cores/type.rb, line 33
def self.markdown?(_ext)
  MD_EXTENSIONS.include?(_ext)
end