diff options
author | Lars Erik Rosengren <larserik.rosengren@gmail.com> | 2017-10-15 13:09:07 +0200 |
---|---|---|
committer | Lars Erik Rosengren <larserik.rosengren@gmail.com> | 2017-10-15 14:04:52 +0200 |
commit | a32532d5ae339cf3dcde1bd0b684e7bd7f8c51fc (patch) | |
tree | 3f60765d9a7d84d687e95ae100c00eb0a0a5ae84 /testing | |
parent | 5333a52ca2da1a18bb856be8ef27a23c1c1543ad (diff) | |
download | askama-a32532d5ae339cf3dcde1bd0b684e7bd7f8c51fc.tar.gz askama-a32532d5ae339cf3dcde1bd0b684e7bd7f8c51fc.tar.bz2 askama-a32532d5ae339cf3dcde1bd0b684e7bd7f8c51fc.zip |
Add scope when importing macros
Diffstat (limited to '')
-rw-r--r-- | testing/templates/import.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/templates/import.html b/testing/templates/import.html index 51ddd2f..85538ad 100644 --- a/testing/templates/import.html +++ b/testing/templates/import.html @@ -1,4 +1,4 @@ -{%- import "macro.html" -%} +{%- import "macro.html" as scope -%} -{% call thrice(s) %} +{% call scope::thrice(s) %} |