putting currentMetadata and metadata on the template object.
more handlebars scoping.