feat: reorg pages
This commit is contained in:
parent
0e3ef370c7
commit
593f20560d
16 changed files with 8 additions and 24 deletions
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
layout: "layouts/base"
|
||||
permalink: /catalogue/index.html
|
||||
title: Catalogue
|
||||
---
|
||||
|
||||
{% from "macros/catalogue.njk" import yearList %}
|
||||
<h1>Catalogue</h1>
|
||||
<p>A collection of my thoughts on various forms of media that I consume.</p>
|
||||
{% include "partials/catalogue-types.html" %}
|
||||
{% set itemsByYear = collections.catalogue | reverse | organizeByDate %}
|
||||
{% set years = itemsByYear | keys | sort("desc") %}
|
||||
<section class="[ flow ]">
|
||||
{% for year in years %}
|
||||
{% set itemsInYear = itemsByYear[year] %}
|
||||
{{ yearList(itemsInYear, year) }}
|
||||
{% endfor %}
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue