diff options
author | p4bl0 <pablo@rauzy.name> | 2010-08-11 11:23:34 +0200 |
---|---|---|
committer | p4bl0 <pablo@rauzy.name> | 2010-08-11 11:23:34 +0200 |
commit | e433692a6f316c7e4f62efac27b2117ac94e2320 (patch) | |
tree | dcf96207283714245157597962807a2bac9b1d9a | |
parent | 4cd15fad3cf1252532da170e44dad68683601166 (diff) |
added details about the template system
-rw-r--r-- | README | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |