diff options
author | max <gmx.sht@gmail.com> | 2023-12-11 16:43:16 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2024-01-17 17:58:53 +0100 |
commit | 5cad82f38e800a42717284f20e7e0923add1e32f (patch) | |
tree | c58e7220a9e8500b65f3eb116ea12c43bd92a61a /testing/templates/include-extends-base.html | |
parent | 514ae1b24cebb50cad04d0717092a9f890b7a245 (diff) | |
download | askama-5cad82f38e800a42717284f20e7e0923add1e32f.tar.gz askama-5cad82f38e800a42717284f20e7e0923add1e32f.tar.bz2 askama-5cad82f38e800a42717284f20e7e0923add1e32f.zip |
Allow included templates to `extend`, `import`, and `macro`
Signed-off-by: max <gmx.sht@gmail.com>
Diffstat (limited to 'testing/templates/include-extends-base.html')
-rw-r--r-- | testing/templates/include-extends-base.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/templates/include-extends-base.html b/testing/templates/include-extends-base.html new file mode 100644 index 0000000..7a54ca0 --- /dev/null +++ b/testing/templates/include-extends-base.html @@ -0,0 +1,6 @@ +<div> + <p>Below me is the header</p> + {% block header %}{% endblock %} + <p>Above me is the header</p> +</div> +Hello, {{ name }}! |