Render file as a TemplateString with values and write it as html.

Property definitions

popcorn :: pop_templates $ HttpResponse :: template_file
	# Render `file` as a TemplateString with `values` and write it as html.
	fun template_file(file: String, values: nullable Map[String, nullable Writable], status: nullable Int) do
		var tpl = new TemplateString.from_file(file)
		template(tpl, values, status)
	end
lib/popcorn/pop_templates.nit:108,2--112,4