Improve calendar and nl-list

This commit is contained in:
Yusur 2023-04-06 23:02:07 +02:00
parent 63a2b60f1d
commit 0801e841ad
12 changed files with 210 additions and 146 deletions

View file

@ -12,7 +12,12 @@
<h1 id="firstHeading">{{ p.title }}</h1>
{% if p.calendar %}
<p class="calendar-subtitle"><span class="material-icons">calendar_today</span>{{ p.calendar.strftime('%B %-d, %Y') }}</p>
<p class="calendar-subtitle">
<span class="material-icons">calendar_today</span>
<a href="/calendar/{{ p.calendar.year }}/{{ p.calendar.month }}">
<time datetime="{{ p.calendar.isoformat() }}">{{ p.calendar.strftime('%B %-d, %Y') }}</time>
</a>
</p>
{% endif %}
<ul class="article-actions inline">