module Jekyll::Convertible

def type

Returns the type of self.

i.e., its classname downcase'd and to_sym'd.
The type of a document,
def type
  :pages if is_a?(Page)
end