<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="{{ permalink | absoluteUrl: meta.url }}" rel="self" type="application/rss+xml" />
    {%- assign entries = data | normalizeEntries -%}
    <title>{{ title }}</title>
    <description>{{ description }}</description>
    <link>{{ permalink | absoluteUrl: meta.url }}</link>
    <lastBuildDate>{{ updated | stringToRFC822Date }}</lastBuildDate>
    <image>
      <title>{{ title }}</title>
      <link>{{ permalink | absoluteUrl: meta.url }}</link>
      <url>https://coryd.dev/assets/img/avatar.png</url>
      <width>144</width>
      <height>144</height>
    </image>
    {% for entry in entries limit: 20 -%}
      {% assign author = entry.url | stripUtm | authorLookup %}
      <item>
        <title>{{ entry.title | escape }}{% if author %} via {{ author }}{% endif %}</title>
        <link>{{ entry.url | stripUtm | encodeAmp }}</link>
        <pubDate>{{ entry.date | stringToRFC822Date }}</pubDate>
        <guid>{{ entry.url | stripUtm | encodeAmp }}</guid>
        <description>{{ entry.excerpt | escape }}</description>
      </item>
    {%- endfor %}
  </channel>
</rss>