From e0a69eb031316ae145f1c40319bceb8ec520ad44 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Tue, 28 Feb 2023 21:54:53 -0800 Subject: init project structure --- feeds/photos.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 feeds/photos.xml (limited to 'feeds') diff --git a/feeds/photos.xml b/feeds/photos.xml new file mode 100644 index 0000000..c89ec48 --- /dev/null +++ b/feeds/photos.xml @@ -0,0 +1,31 @@ +--- +permalink: /photos.xml +--- + +{% capture srcbase %}src="{{site.url}}/{% endcapture %} + + + @clarkzjw's photos + Photos + {% assign photos = site.data.photos | slice: 0, 10 %} + {{ photos.first.createdAt | date_to_rfc822 }} + + {{ site.url }}/photos.xml + {% for photo in photos limit:10 %} + + {{ photo.caption | markdownify | strip_html | xml_escape }} + + {% capture content %} + + {{ 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 }} + + {% endfor %} + + -- cgit v1.2.3