I think template users will want 1-based out of the box. I hate such
things in a programming language, but for html generation, etc., I
think that should be the default.
> > Also, should be have a {.header} and {.footer} for repeated sections?
> > I think the this looks better than the option below it:
>
> This should be covered by the idiom:
>
> {.section foo}
> header
> {.repeated section @}
> {$index} {...@}
> {.end}
> footer
> {.end}
Funny, I was doing that and still wrote about header/footer. Nix the
header/footer idea -- I was working on converting templates from
another type to this type, and I guess my brain just shut down that
day. !!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JSON
Template" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/json-template?hl=en
-~----------~----~----~----~------~----~------~--~---