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, block = opts[:named_templates][template_name(options)]; block)
    if template_opts
      options = Hash[template_opts].merge!(options)
    else
      options = Hash[options]
    end
    options[:inline] = instance_exec(&block)
    super(options)
  else
    super
  end
end