Missing code-block in doc/templates.rst

Little tweak for docs.