diff options
author | 2018-06-22 16:03:53 +0200 | |
---|---|---|
committer | 2018-06-22 16:13:08 +0200 | |
commit | 3d75bcfe786e23be26302c5d39658d75d19468b7 (patch) | |
tree | 6c5b4013d46b9525c27c266a7ad5871f80bfde6a /testing/templates/deep-mid.html | |
parent | 21edd48917baf57728adf7fd7693741f84b85402 (diff) | |
download | askama-3d75bcfe786e23be26302c5d39658d75d19468b7.tar.gz askama-3d75bcfe786e23be26302c5d39658d75d19468b7.tar.bz2 askama-3d75bcfe786e23be26302c5d39658d75d19468b7.zip |
Add test for deep inheritance
Diffstat (limited to 'testing/templates/deep-mid.html')
-rw-r--r-- | testing/templates/deep-mid.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/templates/deep-mid.html b/testing/templates/deep-mid.html new file mode 100644 index 0000000..76ab7e6 --- /dev/null +++ b/testing/templates/deep-mid.html @@ -0,0 +1,19 @@ +{% extends "deep-base.html" %} +{% import "macro.html" as libm %} + +{% block head %} + {{ title }} +{% endblock %} + +{% block body %} + <div id="wrap"> + <section id="content"> + {% block content %} + No content found + {% endblock %} + </section> + <section id="nav"> + {% call libm::thrice("nav") %} + </section> + </div> +{% endblock %} |