repo-autoindex/repo_autoindex/templates/index.html.j2
Rohan McGovern 975e9f9f9e Declare HTML doctype
This is important due to certain behavior of localstack S3.
2022-06-20 09:33:52 +10:00

21 lines
539 B
Django/Jinja

<!DOCTYPE html>
<html>
{# A generic index page for any kind of content. #}
<head>
<title>{{ title }}</title>
</head>
<body>
<h1>{{ title }}</h1>
<div class="header">
{{ header|safe }}
</div>
<pre>
{% for entry in index_entries %}
{{ entry.icon }} <a href="{{ entry.href }}">{{ entry.text }}</a>{{ entry.padding }} {{ entry.time }} {{ entry.size }}
{%- endfor %}
</pre>
<div class="footer">
{{ footer|safe }}
</div>
</body>
</html>