blob: c89ec48812bccb065ba73f59ecf666404a4020c9 (
plain) (
tree)
|
|
---
permalink: /photos.xml
---
<?xml version="1.0" encoding="UTF-8"?>
{% capture srcbase %}src="{{site.url}}/{% endcapture %}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>@clarkzjw's photos</title>
<description>Photos</description>
{% assign photos = site.data.photos | slice: 0, 10 %}
<lastBuildDate>{{ photos.first.createdAt | date_to_rfc822 }}</lastBuildDate>
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
<link>{{ site.url }}/photos.xml</link>
{% for photo in photos limit:10 %}
<item>
<title>{{ photo.caption | markdownify | strip_html | xml_escape }}</title>
<description>
{% capture content %}
<a href="{{ photo.path }}/public">
<img src="{{ photo.path }}/public" width="100%" alt="{{ photo.alt }}"/>
</a>
{% endcapture %}
{{ content | xml_escape }}{{ openheart | xml_escape }}
</description>
<pubDate>{{ photo.createdAt | date_to_rfc822 }}</pubDate>
<link>{{ site.url }}/photos#P{{ photo.guid }}</link>
<guid isPermaLink="true">{{ site.url }}/photos#P{{ photo.guid }}</guid>
</item>
{% endfor %}
</channel>
</rss>
|