Skip to content

Commit 13ce60b

Browse files
authored
fix Jinja syntax in example (#2056)
2 parents 3d0a7d7 + 0c0a3d0 commit 13ce60b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/basic/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
{
77
"child.html": """\
88
{% extends default_layout or 'default.html' %}
9-
{% include helpers = 'helpers.html' %}
9+
{% import 'helpers.html' as helpers %}
1010
{% macro get_the_answer() %}42{% endmacro %}
11-
{% title = 'Hello World' %}
11+
{% set title = 'Hello World' %}
1212
{% block body %}
1313
{{ get_the_answer() }}
1414
{{ helpers.conspirate() }}

0 commit comments

Comments
 (0)