Template: Move the metadata to an include
Merge pull request #6220 from LaurentGoderre/core-template-metadata

Template: Move the metadata to an include