module Roda::RodaPlugins::NamedTemplates::InstanceMethods

def find_template(options)

the named template block to get the inline template to use.
If a template name is given and it matches a named template, call
def find_template(options)
  if options[:template] && (template_opts, meth = opts[:named_templates][template_name(options)]; meth)
    if template_opts
      options = template_opts.merge(options)
    else
      options = Hash[options]
    end
    options[:inline] = send(meth)
    super(options)
  else
    super
  end
end