From c0483779dac4d8fd5fcc736ae5ffa8ddede0e511 Mon Sep 17 00:00:00 2001 From: Toni Uhlig <matzeton@googlemail.com> Date: Tue, 27 Apr 2021 15:15:40 +0200 Subject: ContentManager / Filesystem classes as preparation for a SimpleBlog. Signed-off-by: Toni Uhlig <matzeton@googlemail.com> --- wwwroot/index.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 wwwroot/index.html (limited to 'wwwroot/index.html') diff --git a/wwwroot/index.html b/wwwroot/index.html new file mode 100644 index 0000000..c0edd6c --- /dev/null +++ b/wwwroot/index.html @@ -0,0 +1,31 @@ +<html><body> + Hello {{ name }}! I come from {{ city }}.<br> + + Hello {{ names.1 }}!<br> + + Hello {{ brother.name }}!<br> + + Hello {{ brother.daughter0.name }}!<br> + + {{ \"{{ no_value }}\" }}<br> + + Hello{# This is a comment #}!<br> + + {# --- #Todo --- #}<br> + + {% for name in names %}a{% endfor %}<br> + + Hello {% for name in names %}{{ name }} {% endfor %}!<br> + + Hello {% for name in names %}{{ loop.index }}: {{ name }}, {% endfor %}!<br> + + {% for type, name in relatives %}{{ type }}: {{ name }}, {% endfor %}<br> + + {% for v in vars %}{% if v > 0 %}+{% endif %}{% endfor %}<br> + + {% for name in names %}{{ loop.index }}: {{ name }}{% if not loop.is_last %}, {% endif %}{% endfor %}!<br> + + {% for name in names %}{{ loop.index }}: {{ name }}{% if loop.is_last == false %}, {% endif %}{% endfor %}!<br> + + {% for name in names %}a{% endfor %}<br> +</body></html> -- cgit v1.2.3