Move the footer to the base template.

This commit is contained in:
Bauke 2023-06-07 21:06:17 +02:00
parent 1a081ff83f
commit 0410fd3603
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 48 additions and 43 deletions

View File

@ -15,6 +15,26 @@
<body>
{% block body %}{% endblock %}
<footer class="page-footer">
<p>
Last generated on
<time class="underline" datetime="{{ today }}">{{- today -}}</time>.
</p>
<p>
&copy; Code
<a href="https://git.bauke.xyz/Bauke/tildes-statistics">AGPL-3.0-or-later</a>,
charts & data
<a href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC 4.0</a>.
</p>
<p class="bold">
Consider joining <a href="{{ base_url }}">Tildes</a>, a non-profit
community site driven by its users' interests.
</p>
</footer>
{{ extra_body_html|safe }}
</body>

View File

@ -21,6 +21,9 @@
<img class="chart" src="/charts/main-user-count.svg" alt="User Count Chart">
<details open>
<summary>Groups Overview</summary>
<table>
<thead>
<tr>
@ -46,24 +49,6 @@
{% endfor %}
</tbody>
</table>
</details>
</main>
<footer class="page-footer">
<p>
Last generated on
<time class="underline" datetime="{{ today }}">{{- today -}}</time>.
</p>
<p>
&copy; Code
<a href="https://git.bauke.xyz/Bauke/tildes-statistics">AGPL-3.0-or-later</a>,
charts & data
<a href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC 4.0</a>.
</p>
<p class="bold">
Consider joining <a href="{{ base_url }}">Tildes</a>, a non-profit
community site driven by its users' interests.
</p>
</footer>
{% endblock %}