def resource(name_or_class, &block)
      resource = case name_or_class
        when Class
          name_or_class
        else
          Object.const_set name_or_class.to_s.classify, Class.new(Massimo::Page, &block)
        end
      resources << resource
    end
def resource(name_or_class, &block)
      resource = case name_or_class
        when Class
          name_or_class
        else
          Object.const_set name_or_class.to_s.classify, Class.new(Massimo::Page, &block)
        end
      resources << resource
    end
Adds a new, custom resource to the Site. If a Class constant is given,
 it is added to directly to the `#resources`. If a Symbol or String is given, a new
 Class (inheriting from Massimo::Page) is created using that name
 with the given block used as the Class body.