fix: book feed

This commit is contained in:
Cory Dransfeldt 2024-04-23 20:09:18 -07:00
parent 75562d73f5
commit c548bbcc07
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "12.9.4", "version": "12.9.5",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -3,11 +3,12 @@ layout: null
eleventyExcludeFromCollections: true eleventyExcludeFromCollections: true
permalink: /feeds/books permalink: /feeds/books
--- ---
{%- assign bookData = books | bookStatus: 'started' -%}
{% render "partials/feeds/rss.liquid" {% render "partials/feeds/rss.liquid"
permalink:"/feeds/books" permalink:"/feeds/books"
title:"Books • Cory Dransfeldt" title:"Books • Cory Dransfeldt"
description:"Books I'm currently reading." description:"Books I'm currently reading."
data:books data:bookData
updated:books[0].dateAdded updated:bookData[0].dateAdded
site:site site:site
%} %}