This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/_includes/partials/feeds/content.liquid
2023-09-19 12:14:14 -07:00

33 lines
No EOL
1.2 KiB
Text

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
{% assign entries = data | normalizeEntries %}
<title>{{ title }}</title>
<link href="{{ permalink | absoluteUrl: site.url }}" rel="self" />
<link href="{{ site.url }}/" />
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/" />
<updated>{{ updated | stringToDate | dateToRfc822 }}</updated>
<id>{{ site.url }}/</id>
<author>
<name>{{ site.name }}</name>
<email>{{ site.email }}</email>
</author>
<image>
<url>https://coryd.dev/assets/icons/apple-touch-icon.png</url>
<title>Cory Dransfeldt</title>
<link>https://coryd.dev/</link>
<width>512</width>
<height>512</height>
</image>
<generator uri="https://11ty.dev" version="{{ eleventy.version }}">{{ eleventy.generator }}</generator>
{% for entry in entries limit: 20 -%}
<entry>
<title>{{ entry.title | escape }}</title>
<link href="{{ entry.url | stripUtm | encodeAmp }}" />
<updated>{{ entry.date | date: "%m.%d.%Y" }}</updated>
<id>{{ entry.url | stripUtm | encodeAmp }}</id>
<content type="html">
{{ entry.excerpt | escape | markdown }}
</content>
</entry>
{%- endfor %}
</feed>