aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-18 01:11:47 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-18 01:11:47 -0300
commitd3e1e90f0979621f741357484e5a8f9656ee4a22 (patch)
tree6a447f6963cfb7aae0c79766cd6303c186568fbf /README.md
parentdd62d6ff93b75e30d2614b68cf5cd5a9dc0a3343 (diff)
downloadblogc-d3e1e90f0979621f741357484e5a8f9656ee4a22.tar.gz
blogc-d3e1e90f0979621f741357484e5a8f9656ee4a22.tar.bz2
blogc-d3e1e90f0979621f741357484e5a8f9656ee4a22.zip
do not allow variables inside multiple_sources_once blocks
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5f6f607..e5474aa 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,8 @@ The variables defined in the source file are only available inside of blocks. If
The templates can use conditional statements: ``{% if variable %}`` and ``{% endif %}``. They check if a variable is defined or not. As variables are not available outside of blocks, these conditional statements can't be defined outside of blocks.
+Variables are not available in ``multiple_sources_once`` blocks, because it is not possible to guess which source file to get the variables from.
+
As the compiler is output-agnostic, Atom feeds and sitemaps should be generated using templates as well.
The content defined in source files must be written as pre-formatted text. Make sure to enclose the content with ``<pre>`` and ``</pre>`` tags in your templates.