module Roda::RodaPlugins::Partials::InstanceMethods
def partial(template, opts=OPTS)
prefixes the template filename to use with an
Renders the given template without a layout, but
def partial(template, opts=OPTS) opts = parse_template_opts(template, opts) if opts[:template] template = opts[:template].split(SLASH) template[-1] = "_#{template[-1]}" opts[:template] = template.join(SLASH) end render_template(opts) end