summaryrefslogtreecommitdiff
path: root/ext/django2jinja/templates/index.html
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-10 12:58:38 -0800
committerDavid Lord <davidism@gmail.com>2020-01-10 12:58:38 -0800
commite492255f270add52d051ef4f8e87899f40e57687 (patch)
tree5c32f9e526b2efae6d901bc4dd77655dbf8ab3b5 /ext/django2jinja/templates/index.html
parent143667d95d73730415bb1281d1cd5e439b366fec (diff)
downloadjinja2-e492255f270add52d051ef4f8e87899f40e57687.tar.gz
remove old scripts and examples
Diffstat (limited to 'ext/django2jinja/templates/index.html')
-rw-r--r--ext/django2jinja/templates/index.html58
1 files changed, 0 insertions, 58 deletions
diff --git a/ext/django2jinja/templates/index.html b/ext/django2jinja/templates/index.html
deleted file mode 100644
index d0fbe38..0000000
--- a/ext/django2jinja/templates/index.html
+++ /dev/null
@@ -1,58 +0,0 @@
-{% extends "layout.html" %}
-{% load i18n %}
-{% block title %}Foo{% endblock %}
-{% block page-body %}
- {{ block.super }}
- Hello {{ name|cut:"d" }}!
-
- {% for item in seq reversed %}
- {% if forloop.index|divisibleby:2 %}
- <li class="{% cycle 'a' 'b' %}">{{ item }}</li>
- {% endif %}
- {% endfor %}
- {% ifequal foo bar %}
- haha
- {% else %}
- hmm
- {% endifequal %}
- {% filter upper %}
- {% include "subtemplate.html" %}
- {% include foo %}
- {% endfilter %}
- {% spaceless %}
- Hello World
- {{ foo }}
- Hmm
- {% endspaceless %}
- {% templatetag opencomment %}...{% templatetag closecomment %}
- {% url foo a, b, c=d %}
- {% url foo a, b, c=d as hmm %}
-
- {% with object.value as value %}
- <img src='bar.gif' height='10' width='{% widthratio value 200 100 %}'>
- {% endwith %}
-
- <pre>{% debug %}</pre>
-
- {% blocktrans with book|title as book_t and author|title as author_t %}
- This is {{ book_t }} by {{ author_t }}
- {% endblocktrans %}
-
- {% blocktrans count list|length as counter %}
- There is only one {{ name }} object.
- {% plural %}
- There are {{ counter }} {{ name }} objects.
- {% endblocktrans %}
-
- {% blocktrans with name|escape as name count list|length as counter %}
- There is only one {{ name }} object.
- {% plural %}
- There are {{ counter }} {{ name }} objects.
- {% endblocktrans %}
-
- {% blocktrans %}This string will have {{ value }} inside.{% endblocktrans %}
-
- <p>{% trans "This is the title." %}</p>
-
- {% regroup people by gender as grouped %}
-{% endblock %}