rename .html templates to .jinja2 for more consistency

This commit is contained in:
Yusur 2023-03-16 14:17:50 +01:00
parent 7f050afb8b
commit 2887d94a8c
36 changed files with 34 additions and 33 deletions

View file

@ -1,30 +0,0 @@
{% extends "base.html" %}
{% block title %}Contributions of {{ u.username }} - {{ app_name }}{% endblock %}
{% block meta %}
<meta name="robots" content="noindex,nofollow" />
{% endblock %}
{% block content %}
<h1>Contributions of {{ u.username }}</div>
<ul>
{% for rev in contributions %}
<li>
<a href="/history/revision/{{ rev.id }}/">
#{{ rev.id }}
&middot;
{{ rev.pub_date.strftime("%B %-d, %Y %H:%M:%S") }}
{% if rev.comment %}
“{{ rev.comment }}”
{% endif %}
</a>
on
<a href="{{ rev.page.get_url() }}">
{{ rev.page.title }}
</a>
</li>
{% endfor %}
</ul>
{% endblock %}