diff options
Diffstat (limited to 'root/template')
-rw-r--r-- | root/template/pre | 4 | ||||
-rw-r--r-- | root/template/wrapper | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/root/template/pre b/root/template/pre index 581baf7..9f4f1e8 100644 --- a/root/template/pre +++ b/root/template/pre @@ -1,3 +1,3 @@ -[% MACRO l(text, args) BLOCK; +[%- MACRO l(text, args) BLOCK; c.localize(text, args); -END; %] +END; -%] diff --git a/root/template/wrapper b/root/template/wrapper index 8bfee46..710f019 100644 --- a/root/template/wrapper +++ b/root/template/wrapper @@ -1,7 +1,7 @@ -[% MACRO l(text, args) BLOCK; +[%- MACRO l(text, args) BLOCK; c.localize(text, args); -END; %] -[% IF template.name.match('\.(css|js|txt)'); +END; -%] +[%- IF template.name.match('\.(css|js|txt)'); debug("Passing page through as text: $template.name"); content; ELSE; |