On Monday, 11 February 2013 at 21:06:41 UTC, FG wrote:
On 2013-02-11 21:37, Jacob Carlborg wrote:
On 2013-02-11 20:08, FG wrote:
I'm struggling with the temptation to move a Python website
to vibe.d.
What keeps me from doing that are Django templates. Not even
because
vibe's templates have to be recompiled each time some small
markup
change is introduced -- I got used to that with LaTeX ;) --
but because
of Jade. It's way too far off course from HTML for my tastes.
I see no
reason for inventing a completely new format when all you
need is
templating.
I like Haml, it's similar to Jade but without the pipes for
the plain text.
What about plain HTML, like Ruby (Erb) or PHP uses.
The problem I have with those is that they are designed for
HTML.
What if I wanted to make an email template instead?
If you need a D templating engine that can be used for anything,
not just HTML, you could try http://mustache.github.com/.