From e433692a6f316c7e4f62efac27b2117ac94e2320 Mon Sep 17 00:00:00 2001 From: p4bl0 Date: Wed, 11 Aug 2010 11:23:34 +0200 Subject: added details about the template system --- README | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README b/README index 3165d2b..2d39c43 100644 --- a/README +++ b/README @@ -160,11 +160,13 @@ fugitive: README

The fugitive template system uses xml preprocessor syntax: <?fugitive var ?> is rendered as the - value of var. + value of var. 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 (<!-- var -->).

- 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.

The syntax of the include directive is <?fugitive -- cgit v1.2.3