From d3e1e90f0979621f741357484e5a8f9656ee4a22 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 18 Apr 2015 01:11:47 -0300 Subject: do not allow variables inside multiple_sources_once blocks --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') 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 ``
`` and ``
`` tags in your templates. -- cgit v1.2.3-18-g5258