chore: modularize now page

This commit is contained in:
Cory Dransfeldt 2023-07-10 11:17:26 -07:00
parent c5c04214cc
commit cc6d813fed
No known key found for this signature in database
10 changed files with 196 additions and 188 deletions

View file

@ -0,0 +1,16 @@
{% if albumReleases.size > 0 %}
<h2 class="m-0 text-xl flex flex-row items-center font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
{% heroicon "outline" "calendar" "Anticipated albums" "height=28" %}
<div class="ml-1">Anticipated albums</div>
</h2>
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for album in albumReleases %}
<li class="mt-1.5 mb-2">
<span class="font-bold">{{ album.startDate | readableDate }}: </span>
<a href="https://{{album.location}}" title="{{album.summary | escape}}">
{{album.summary}}
</a>
</li>
{% endfor %}
</ul>
{% endif %}