module Jekyll::Convertible

def to_liquid(attrs = nil)

Returns the Hash representation of this Convertible.

Convert this Convertible's data to a Hash suitable for use by Liquid.
def to_liquid(attrs = nil)
  further_data = \
    (attrs || self.class::ATTRIBUTES_FOR_LIQUID).each_with_object({}) do |attribute, hsh|
      hsh[attribute] = send(attribute)
    end
  Utils.deep_merge_hashes defaults, Utils.deep_merge_hashes(data, further_data)
end