Icon route added

This commit is contained in:
2023-07-03 12:39:34 +02:00
parent 17cfa89cce
commit 7eb731181a
12 changed files with 205 additions and 27 deletions

View File

@@ -191,7 +191,7 @@ if(icon_override){
</style>
<a class="card {search}" href="/rezepte/{recipe.short_name}" data-tags=[{recipe.tags}]>
{#if icon_override || recipe.season.includes(current_month)}
<a class=icon href="/rezepte/season/{current_month}">{recipe.icon}</a>
<a class=icon href="/rezepte/icon/{recipe.icon}">{recipe.icon}</a>
{/if}
<img width=300px height=300px src="/images/{recipe.images[0].mediapath}" alt="{recipe.alt}" />
<div class=title>