Skip to content

Commit

Permalink
added thumbnails everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Holger Hellinger committed Jan 19, 2024
1 parent b03a625 commit 4eec76d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/_includes/layouts/tag-results.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@

{% block content %}
<section class="wrapper layout-grid">
<h1 class="page-header layout-span">Recipes using{{ tag }}”</h1>
<h1 class="page-header layout-span">Recipes tagged with{{ tag }}”</h1>
<div class="layout-span | content-main flow">
<ul class="recipe-ul">
{% for item in collections[tag] | reverse %}
{% include "partials/site-post-list.njk" %}
{% for item in collections[tag] | reverse %}
<a href="{{ item.url }}">
{% figure %}
{% picture item.data.figureRecipe.imageSrc, item.data.figureRecipe.imageTitle, item.data.figureRecipe.imageAlt, item.data.figureRecipe.loading, "(min-width: 60rem) 260px, 340px" %}
{% endfigure %}
{{ item.data.title }}
</a>
{% endfor %}
</ul>
</div>
Expand Down

0 comments on commit 4eec76d

Please sign in to comment.