From 6c04dfe2caff1e03ba5c898b591327439452f616 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 30 Sep 2021 21:12:57 +0200 Subject: CMS functionality works just find.. Signed-off-by: Toni Uhlig --- wwwroot/index.html | 35 ++++++----------------------------- wwwroot/index.tmpl | 1 + 2 files changed, 7 insertions(+), 29 deletions(-) create mode 100644 wwwroot/index.tmpl (limited to 'wwwroot') diff --git a/wwwroot/index.html b/wwwroot/index.html index c0edd6c..002ea72 100644 --- a/wwwroot/index.html +++ b/wwwroot/index.html @@ -1,31 +1,8 @@ - Hello {{ name }}! I come from {{ city }}.
- - Hello {{ names.1 }}!
- - Hello {{ brother.name }}!
- - Hello {{ brother.daughter0.name }}!
- - {{ \"{{ no_value }}\" }}
- - Hello{# This is a comment #}!
- - {# --- #Todo --- #}
- - {% for name in names %}a{% endfor %}
- - Hello {% for name in names %}{{ name }} {% endfor %}!
- - Hello {% for name in names %}{{ loop.index }}: {{ name }}, {% endfor %}!
- - {% for type, name in relatives %}{{ type }}: {{ name }}, {% endfor %}
- - {% for v in vars %}{% if v > 0 %}+{% endif %}{% endfor %}
- - {% for name in names %}{{ loop.index }}: {{ name }}{% if not loop.is_last %}, {% endif %}{% endfor %}!
- - {% for name in names %}{{ loop.index }}: {{ name }}{% if loop.is_last == false %}, {% endif %}{% endfor %}!
- - {% for name in names %}a{% endfor %}
+

+blabla +Test fn....: {{ test_fn }}
+Test RetFN.: {{ test_return_true }}
+Blog Render: {{ blah }}
+

diff --git a/wwwroot/index.tmpl b/wwwroot/index.tmpl new file mode 100644 index 0000000..b42f18c --- /dev/null +++ b/wwwroot/index.tmpl @@ -0,0 +1 @@ +INDEX TMPL -- cgit v1.2.3