Re: [htmltmpl] Small questions.
Brought to you by:
samtregar
From: Mathew R. <mat...@ne...> - 2006-05-17 23:24:04
|
You can use a filter to strip stuff from your templates - check the list archive for examples Mathew > 2) Wouldn't be nice to have a template comment tag? > I think it would be useful to describe template, and not generate > HTML. For example: > <!-- <tmpl_comment> > This template shows a user. bla bla > Inputs: > - bla bla > </tmpl_comment> > --> > or > > <!-- > # This template shows a user. bla bla > # Inputs: > # - bla bla > --> > > In our project we 'compile' the templates before installing to > production, so normal HTML comments are taken away, but I think that > the 'comment' tag would be interesting to have. > |