Skip to content
Myr

fix Jinja syntax in example (#2056)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by GitHub · parents 3d0a7d7, 0c0a3d0 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:examples/basic/test.py+2 added-2 removed
4 unmodified lines
5 loader=DictLoader(6 {7 "child.html": """\8{% extends default_layout or 'default.html' %}9{% include helpers = 'helpers.html' %}9{% import 'helpers.html' as helpers %}10{% macro get_the_answer() %}42{% endmacro %}11{% title = 'Hello World' %}11{% set title = 'Hello World' %}12{% block body %}13 {{ get_the_answer() }}14 {{ helpers.conspirate() }}15{% endblock %}
14 unmodified lines