The binding that gets passed to the template should be the same for every template in every scenario.
It should have as many details as possible (to allow for more template customization)
It should have every field of the current Post instance
It should have everything in the site's config file
(To better allow for these last two — especially seeing that the templates are only used once, for the generation of the site, and that the site's pages are static afterwards — it may make more sense to pass in the Post instance and the config, and to get at the individual fields from within the template.)
The binding that gets passed to the template should be the same for every template in every scenario.
(To better allow for these last two — especially seeing that the templates are only used once, for the generation of the site, and that the site's pages are static afterwards — it may make more sense to pass in the Post instance and the config, and to get at the individual fields from within the template.)