fix Jinja syntax in example

This commit is contained in:
JamesParrott 2024-12-09 15:03:27 +00:00 committed by David Lord
parent 3d0a7d7b0f
commit 0c0a3d02d1
No known key found for this signature in database
GPG Key ID: 43368A7AA8CC5926

View File

@ -6,9 +6,9 @@ env = Environment(
{
"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() }}