Add support for a custom template, the Pelican way (as assigment to *template* in metadata).