update README: document index variable - saait - the most boring static page ge… | |
git clone git://git.codemadness.org/saait | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0c5d3c6e83f4f8d5266140037a9b566814dc9b12 | |
parent a64b5bfd3ad8750365b4e59a8a3103c3216c0a4c | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 21 Jan 2018 16:27:47 +0100 | |
update README: document index variable | |
Diffstat: | |
M README | 9 +++++++-- | |
1 file changed, 7 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/README b/README | |
@@ -45,13 +45,18 @@ Cfg file and template syntax: | |
----------------------------- | |
Special variables set: | |
-htmlfile (if not already set) path to input HTML content filename. | |
-filename (can be overwritten) basename of output content HTML file. | |
+htmlfile (if not already set) path to input HTML content filename. | |
+filename (can be overwritten) basename of output content HTML file. | |
+Special variables used: | |
+index if set to 0 then don't list this page as an item for the | |
+ templates except for the "page" template. This can be used to hide | |
+ a page from the index.html and Atom feed. | |
Variables: | |
${} escaped HTML/XML string. | |
#{} literal string. | |
+%{} insert contents of file of variable value. | |
Usage: |