fn render_content(
    landing: Template<'_, '_>,
    serializable: HashMap<&str, &String>
) -> HttpResponse
Expand description

Create an HttpResponse based on the context built and rendered template.

§Arguments

  • landing - Template retrieved from the configuration container.
  • serializable - HashMap that can be serialized into a single block of String to be rendered.