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:
parent
4cd15fad3c
commit
e433692a6f
8
README
8
README
|
@ -160,11 +160,13 @@ fugitive: README
|
|||
<p>
|
||||
The fugitive template system uses xml preprocessor
|
||||
syntax: <code><?fugitive <em>var</em> ?></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><!-- <em>var</em> --></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><?fugitive
|
||||
|
|
Loading…
Reference in a new issue