display single month in-season recipes correctly

This commit is contained in:
Alexander Bocken 2024-01-05 22:09:07 +01:00
parent c6b002a108
commit c616c9d798
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -267,7 +267,12 @@ h4{
<div class=tags>
<h4>Saison:</h4>
{#each season_iv as season}
<a class=tag href="/rezepte/season/{season[0]}">{months[season[0] - 1]}-{months[season[1] - 1]}</a>
<a class=tag href="/rezepte/season/{season[0]}">
{months[season[0] - 1]}
{#if season[1]}
- {months[season[1] - 1]}
{/if}
</a>
{/each}
</div>
<h4>Stichwörter:</h4>