From 7d90d6fba81ed4edc431133685d26bf853068848 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Sun, 20 Jul 2014 20:39:30 +0000 Subject: [PATCH] Renderer : Update docs to add the variable support to view git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1532 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- docs/USAGE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/USAGE b/docs/USAGE index 1b533ce..c11397b 100644 --- a/docs/USAGE +++ b/docs/USAGE @@ -146,6 +146,8 @@ By default, the layout is a page named "layout.html", in the views directory. It contains the HTML page with some special parts : the tokens. Tokens are written like {content} or {title}. The renderer replace them by the result of replacement attibute. +It is also possible to define some variable and pass them to the view. The view +will treat them as it want and modify the displayed content as needed. 8. Debug --------