Render territory functions.
YAML to make html a static file.
Revert YAML