module Roda::RodaPlugins::NamedTemplates::ClassMethods

def template(name, options=nil, &block)

Store a new template block and options for the given template name.
def template(name, options=nil, &block)
  opts[:named_templates][name.to_s] = [options, define_roda_method("named_templates_#{name}", 0, &block)].freeze
  nil
end