feat: cms integration

This commit is contained in:
Cory Dransfeldt 2024-06-01 07:16:49 -07:00
parent ff77bdaf36
commit d23243b177
No known key found for this signature in database
1050 changed files with 1032 additions and 27229 deletions

View file

@ -1,27 +0,0 @@
---
title: Want to read • Books
description: These are books I want to read, sorted in alphabetical order. As one would expect, it will change as I navigate through and add to it.
layout: default
pagination:
data: collections.booksToRead
alias: books
size: 30
permalink: "/books/want-to-read/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}/{% endif %}index.html"
schema: books
---
{% if pagination.pageNumber == 0 %}
<h2 class="page-header">Want to read</h2>
<p>These are books I want to read, sorted in alphabetical order. As one would expect, it will change as I navigate through and add to it.</p>
<hr class="large-spacing" />
{% endif %}
<ul class="link-list reduced-spacing">
{% for book in pagination.items %}
<li>
<a href="{{ book.url }}">
<strong>{{ book.title }}</strong>
</a>
{% if book.authors %}by {{ book.authors }}{% endif %}{% if book.categories %} • <em>{{ book.categories }}</em>{% endif %}
</li>
{% endfor %}
</ul>
{% render "partials/widgets/paginator.liquid", pagination:pagination %}