Skip to content

Commit

Permalink
fix Jinja syntax in example (#2056)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism authored Dec 18, 2024
2 parents 3d0a7d7 + 0c0a3d0 commit 13ce60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/basic/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
{
"child.html": """\
{% extends default_layout or 'default.html' %}
{% include helpers = 'helpers.html' %}
{% import 'helpers.html' as helpers %}
{% macro get_the_answer() %}42{% endmacro %}
{% title = 'Hello World' %}
{% set title = 'Hello World' %}
{% block body %}
{{ get_the_answer() }}
{{ helpers.conspirate() }}
Expand Down

0 comments on commit 13ce60b

Please sign in to comment.