From 6360ea517dcf98d57b1da287845edd20a86543b5 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Sun, 12 Jan 2020 16:28:26 +0100 Subject: Add new templates --- testing/templates/let-base.html | 1 + testing/templates/let-child.html | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 testing/templates/let-base.html create mode 100644 testing/templates/let-child.html (limited to 'testing') diff --git a/testing/templates/let-base.html b/testing/templates/let-base.html new file mode 100644 index 0000000..3ddfb62 --- /dev/null +++ b/testing/templates/let-base.html @@ -0,0 +1 @@ +{% block body %}{% endblock %} diff --git a/testing/templates/let-child.html b/testing/templates/let-child.html new file mode 100644 index 0000000..3097bda --- /dev/null +++ b/testing/templates/let-child.html @@ -0,0 +1,5 @@ +{% extends "let-base.html" %} +{% block body -%} + {% let x = 1 %} + {{- x -}} +{%- endblock %} -- cgit