aboutsummaryrefslogblamecommitdiff
blob: 41ecc5d7b272c32dfbb3abe4918dc626e0e02a2b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
   
                   








                                                                                

                                                                                     




                                                                                  

                                                                              




                                                                 

                                                                         



                
---
permalink: /rss.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 }}/rss.xml" rel="self" type="application/rss+xml" />
    <link>{{ site.url }}/rss.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 }}">
              <img src="{{ photo.path }}" width="100%" alt="{{ photo.alt }}"/>
            </a>
          {% endcapture %}
          {{ content | xml_escape }}{{ openheart | xml_escape }}
        </description>
        <pubDate>{{ photo.createdAt | date_to_rfc822 }}</pubDate>
        <link>{{ site.url }}/#P{{ photo.guid }}</link>
        <guid isPermaLink="true">{{ site.url }}/#P{{ photo.guid }}</guid>
      </item>
    {% endfor %}
  </channel>
</rss>
Powered by cgit v1.2.3 (git 2.41.0)