From 1b0ac2486321266238e90ab3a8c5b1ed1174e2fe Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Tue, 28 Feb 2023 23:58:16 -0800 Subject: fix rss feed link --- feeds/photos.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/feeds/photos.xml b/feeds/photos.xml index c89ec48..41ecc5d 100644 --- a/feeds/photos.xml +++ b/feeds/photos.xml @@ -1,5 +1,5 @@ --- -permalink: /photos.xml +permalink: /rss.xml --- {% capture srcbase %}src="{{site.url}}/{% endcapture %} @@ -9,22 +9,22 @@ permalink: /photos.xml Photos {% assign photos = site.data.photos | slice: 0, 10 %} {{ photos.first.createdAt | date_to_rfc822 }} - - {{ site.url }}/photos.xml + + {{ site.url }}/rss.xml {% for photo in photos limit:10 %} {{ photo.caption | markdownify | strip_html | xml_escape }} {% capture content %} - - {{ photo.alt }} + + {{ photo.alt }} {% endcapture %} {{ content | xml_escape }}{{ openheart | xml_escape }} {{ photo.createdAt | date_to_rfc822 }} - {{ site.url }}/photos#P{{ photo.guid }} - {{ site.url }}/photos#P{{ photo.guid }} + {{ site.url }}/#P{{ photo.guid }} + {{ site.url }}/#P{{ photo.guid }} {% endfor %} -- cgit v1.2.3