phantasmobile/app/templates/index.html

35 lines
802 B
HTML
Raw Normal View History

2023-07-15 13:00:36 +05:30
{% extends "base.html" %}
2023-07-25 20:03:54 +01:00
{% block head %}
<link rel="alternate" type="application/atom+xml" title="{{ settings.SITENAME }}" href="/atom.xml" />
2023-08-17 12:04:23 +02:00
<title>{{ settings.SITENAME }}</title>
2025-02-15 00:51:32 +01:00
{% if week_background %}
<style>
body {
background: {{ week_background }};
}
</style>
<script>
window.useHue = true;
</script>
{% endif %}
2023-07-25 20:03:54 +01:00
{% endblock %}
2023-07-15 13:00:36 +05:30
{% block content %}
2023-07-16 11:26:14 +05:30
<div class="index">
2025-01-31 16:29:27 +05:30
{% if break %}
<div class="break">
<div>
{{ break.break_notice | safe }}
</div>
</div>
{% else %}
{% for item in items %}
{% include "listitem.html" with item=item %}
{% endfor %}
{% endif %}
2023-07-15 13:00:36 +05:30
{% if archive %}
2023-07-16 11:26:14 +05:30
<div class="archive">
<a href="{{ archive }}">previous weeks</a>
2023-07-16 11:26:14 +05:30
</div>
2023-07-15 13:00:36 +05:30
{% endif %}
2023-07-16 11:26:14 +05:30
</div>
2023-07-15 13:00:36 +05:30
{% endblock %}