From 3c974f28b03a294f4923c043e8cd3b6ad761735d Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 14 Aug 2023 14:06:03 -0700 Subject: [PATCH] chore: fix links --- src/feeds/books.liquid | 4 ++-- src/feeds/json/books.11ty.liquid | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/feeds/books.liquid b/src/feeds/books.liquid index 5d1c6d0f..164a7ba5 100644 --- a/src/feeds/books.liquid +++ b/src/feeds/books.liquid @@ -10,9 +10,9 @@ permalink: /books.xml {% for book in books %} {{ book.title | escape }} - + {{ book.dateAdded | date: "%m.%d.%Y" }} - {{ book.link | stripUtm | encodeAmp }} + {{ book.url | stripUtm | encodeAmp }} {% endfor %} diff --git a/src/feeds/json/books.11ty.liquid b/src/feeds/json/books.11ty.liquid index 38e1f0d1..d53c1dc9 100644 --- a/src/feeds/json/books.11ty.liquid +++ b/src/feeds/json/books.11ty.liquid @@ -9,9 +9,9 @@ permalink: '/books.json' "feed_url": "https://coryd.dev/books.json", "items": [{% for book in books %} { - "id": "{{ book.link | stripUtm | encodeAmp }}", + "id": "{{ book.url | stripUtm | encodeAmp }}", "title": "{{ book.title | escape }}", - "url": "{{ book.link | stripUtm | encodeAmp }}", + "url": "{{ book.url | stripUtm | encodeAmp }}", "content_text": "{{ book.description | strip_html }}", "date_published": "{{ book.dateAdded | date: "%Y-%m-%dT%H:%M:%S-08:00" }}" }{% if not forloop.last %},{% endif %}