fifthposition / rizzo

A static site generator, written in Groovy.
MIT License
24 stars 4 forks source link

Create standard for template bindings #5

Open fifthposition opened 13 years ago

fifthposition commented 13 years ago

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.)

fifthposition commented 13 years ago

note to self: remember to try moving the processing of the Post fields into the template directly.