aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLibravatar Bastien Orivel <eijebong@bananium.fr>2017-08-24 19:31:15 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-24 20:25:35 +0200
commit5f0ff4726ddbd38a895ee29402caabc5b10ad893 (patch)
tree4249db6eea7d35f10331ce72abe1d9924c7b3168 /testing
parentc8b14c6d0d61e12c45860c279f648ea6904488c3 (diff)
downloadaskama-5f0ff4726ddbd38a895ee29402caabc5b10ad893.tar.gz
askama-5f0ff4726ddbd38a895ee29402caabc5b10ad893.tar.bz2
askama-5f0ff4726ddbd38a895ee29402caabc5b10ad893.zip
Allow {% block name %} {% endblock name %}
This makes converting an app from tera to askama easier.
Diffstat (limited to '')
-rw-r--r--testing/templates/child.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/templates/child.html b/testing/templates/child.html
index 15e2fc4..d118642 100644
--- a/testing/templates/child.html
+++ b/testing/templates/child.html
@@ -1,2 +1,2 @@
{% extends "base.html" %}
-{% block content %}({{ title }}) Content goes here{% endblock %}
+{% block content %}({{ title }}) Content goes here{% endblock content %}