diff options
Diffstat (limited to 'deps/inja/test/data/html-extend/template.txt')
-rw-r--r-- | deps/inja/test/data/html-extend/template.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deps/inja/test/data/html-extend/template.txt b/deps/inja/test/data/html-extend/template.txt new file mode 100644 index 0000000..18eeb5d --- /dev/null +++ b/deps/inja/test/data/html-extend/template.txt @@ -0,0 +1,7 @@ +{% extends "inter.txt" %} +{% block head -%} + {{ super(2) }} + <style type="text/css">.important { color: #336699; }</style> +{%- endblock %} +{% block title %}{{ super(2) }}{{ super() }}: {{ title }}{% endblock %} +{% block body %}<main>{{ content }}</main>{% endblock %} |