summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-05-11 16:22:14 -0700
committerDavid Lord <davidism@gmail.com>2021-05-11 16:24:15 -0700
commit9b86bbce631f31a6b5cb0d4aa7dbaba320f838b3 (patch)
treebc68fbfe4eb03d91f4f7f73f09d59bab0fc5d198 /examples
parente7dce0b3b1dfdae6438cab655285872a7a5c234c (diff)
downloadjinja2-9b86bbce631f31a6b5cb0d4aa7dbaba320f838b3.tar.gz
rename default branch in files
Diffstat (limited to 'examples')
-rw-r--r--examples/basic/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic/test.py b/examples/basic/test.py
index d34b0ff..7a58e1a 100644
--- a/examples/basic/test.py
+++ b/examples/basic/test.py
@@ -5,7 +5,7 @@ env = Environment(
loader=DictLoader(
{
"child.html": """\
-{% extends master_layout or 'master.html' %}
+{% extends default_layout or 'default.html' %}
{% include helpers = 'helpers.html' %}
{% macro get_the_answer() %}42{% endmacro %}
{% title = 'Hello World' %}
@@ -14,7 +14,7 @@ env = Environment(
{{ helpers.conspirate() }}
{% endblock %}
""",
- "master.html": """\
+ "default.html": """\
<!doctype html>
<title>{{ title }}</title>
{% block body %}{% endblock %}