1
0
Fork 0
mirror of https://git.ludikovsky.name/git/fugitive.git synced 2024-05-18 06:25:33 +02:00

added details about the template system

This commit is contained in:
p4bl0 2010-08-11 11:23:34 +02:00
parent 4cd15fad3c
commit e433692a6f

8
README
View file

@ -160,11 +160,13 @@ fugitive: README
<p>
The fugitive template system uses xml preprocessor
syntax: <code>&lt;?fugitive <em>var</em> ?&gt;</code> is rendered as the
value of <em>var</em>.
value of <em>var</em>. This choice has been made because with this syntax
templates are still valid xml (and html) document, and it is semantically
more accurate than xml comments (<code>&lt;!-- <em>var</em> --&gt;</code>).
</p>
<p>
In addition to that, there are a conditional and a foreach loop constructs,
plus an include directive.
In addition to variable rendering, there are a conditional and a foreach loop
constructs, plus an include directive.
</p>
<p>
The syntax of the include directive is <code>&lt;?fugitive