erick.is/_content/feed.njk
Erick Ruiz de Chavez 68d71d4ea3
Prod release (#20)
* Update workflows

* Add contact form

* Fix tailwind paths

* Add images folder

* Add cache buster

* Add feed categories

* Fix images
2021-01-07 01:28:33 -05:00

34 lines
1.1 KiB
Text

---
layout:
metadata:
url: https://erickruizdechavez.com/
feedUrl: https://erickruizdechavez.com/feed.xml
permalink: feed.xml
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.name }}</title>
<subtitle>{{ site.tagline }}</subtitle>
<link href="{{ metadata.feedUrl }}" rel="self"/>
<link href="{{ metadata.url }}"/>
<updated>{{ collections.all | rssLastUpdatedDate }}</updated>
<id>{{ metadata.url }}</id>
<author>
<name>{{ site.name }}</name>
</author>
{%- for post in collections.all %}
{% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ absolutePostUrl }}"/>
{%- if post.data.tags %}
{%- for tag in post.data.tags %}
<category term="{{ tag }}"/>
{%- endfor %}
{%- endif %}
<updated>{{ post.date | rssDate }}</updated>
<id>{{ absolutePostUrl }}</id>
<content type="html">{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
</entry>
{%- endfor %}
</feed>