Update templates.rst

Just fixing the sample for the last versions of pyramid and mako