feat: move games into their own section
This commit is contained in:
parent
6084396e0b
commit
fab1780282
35 changed files with 257 additions and 21 deletions
19
src/pages/games/year.html
Normal file
19
src/pages/games/year.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
pagination:
|
||||
data: collections.gamesByYear
|
||||
size: 1
|
||||
alias: year
|
||||
resolve: values
|
||||
permalink: "games/year/{{ year.value }}/index.html"
|
||||
---
|
||||
|
||||
{% from "macros/media-grid.njk" import grid %}
|
||||
{% set gamesData = year.data | reverse %}
|
||||
<section class="flow">
|
||||
<a href="/games">Back to games</a>
|
||||
<h1>Games in {{ year.value }}</h1>
|
||||
<p>
|
||||
A collection of games I've played in <strong>{{ year.value }}</strong>.
|
||||
</p>
|
||||
{{ grid(gamesData) }}
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue