-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1efeb37
commit fecf28f
Showing
2 changed files
with
56 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
<ol> | ||
{% for date, plays in playsGroupedByDate %} | ||
<section> | ||
<span><time datetime="{{ date }}">{{ date|date("d.m.y") }}</time></span> | ||
<ol> | ||
{% for play in plays %} | ||
<li> | ||
<img src="{{ play.boardgame.thumbnailUrl }}" alt="{{ play.boardgame.title }}" title="{{ play.boardgame.title }}"/> | ||
</li> | ||
{% endfor %} | ||
</ol> | ||
</section> | ||
{% endfor %} | ||
</ol> | ||
{% for date, plays in playsGroupedByDate %} | ||
<section class="date"> | ||
<span class="date-label"> | ||
<time datetime="{{ date }}">{{ date|date("d.m.y") }}</time> | ||
</span> | ||
<div class="played-boardgames"> | ||
{% for play in plays %} | ||
<article class="boardgame"> | ||
<img class="boardgame-image" | ||
src="{{ play.boardgame.thumbnailUrl }}" | ||
alt="{{ play.boardgame.title }}" | ||
title="{{ play.boardgame.title }}" | ||
loading="lazy" | ||
/> | ||
</article> | ||
{% endfor %} | ||
</div> | ||
</section> | ||
{% endfor %} |