chore: dry up media templates

This commit is contained in:
Cory Dransfeldt 2024-05-20 10:50:46 -07:00
parent 485f640139
commit de10bfd839
No known key found for this signature in database
39 changed files with 86 additions and 243 deletions

View file

@ -5,7 +5,7 @@ pagination:
data: collections.booksToRead
alias: books
size: 30
permalink: "/books/want-to-read/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber | plus: 1 }}/{% endif %}index.html"
permalink: "/books/want-to-read/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}/{% endif %}index.html"
schema: books
---
{% if pagination.pageNumber == 0 %}

View file

@ -1,7 +1,7 @@
---
title: 2020 • Books
year: 2020
layout: book-year
layout: partials/media/books/year
permalink: "/books/years/2020.html"
schema: books
---

View file

@ -1,7 +1,7 @@
---
title: 2021 • Books
year: 2021
layout: book-year
layout: partials/media/books/year
permalink: "/books/years/2021.html"
schema: books
---

View file

@ -1,7 +1,7 @@
---
title: 2022 • Books
year: 2022
layout: book-year
layout: partials/media/books/year
permalink: "/books/years/2022.html"
schema: books
---

View file

@ -1,7 +1,7 @@
---
title: 2023 • Books
year: 2023
layout: book-year
layout: partials/media/books/year
permalink: "/books/years/2023.html"
schema: books
---

View file

@ -1,7 +1,7 @@
---
title: 2024 • Books
year: 2024
layout: book-year
layout: partials/media/books/year
permalink: "/books/years/2024.html"
schema: books
---