diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-18 01:11:47 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-18 01:11:47 -0300 |
commit | d3e1e90f0979621f741357484e5a8f9656ee4a22 (patch) | |
tree | 6a447f6963cfb7aae0c79766cd6303c186568fbf /README.md | |
parent | dd62d6ff93b75e30d2614b68cf5cd5a9dc0a3343 (diff) | |
download | blogc-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.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |