Introduce /rules + minor style changes

This commit is contained in:
Yusur 2023-06-21 00:13:30 +02:00
parent a30d1c6fe0
commit ea0ccc0d0d
6 changed files with 117 additions and 30 deletions

View file

@ -10,7 +10,7 @@
<ul>
{% for year in range(till_year, from_year-1, -1) %}
<li>
<strong>{{ year }} {% if year == now.year %}(current){% endif %}:</strong>
<strong>{% if year == now.year %}<mark>{% endif %}{{ year }}{% if year == now.year %}</mark>{% endif %}</strong>:
<ul class="inline">
{% for month in range(1, 13) %}
<li><a href="/calendar/{{year}}/{{month}}">{{ year }}.{{ month }}</a></li>