-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.njk
More file actions
27 lines (27 loc) · 989 Bytes
/
feed.njk
File metadata and controls
27 lines (27 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
permalink: /feed.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>codeGROOVE Blog</title>
<subtitle>Thoughts on building better developer tools</subtitle>
<link href="{{ metadata.url }}/feed.xml" rel="self"/>
<link href="{{ metadata.url }}/"/>
<updated>{{ collections.post | getNewestCollectionItemDate | dateToRfc3339 }}</updated>
<id>{{ metadata.url }}/</id>
<author>
<name>codeGROOVE</name>
<email>ohai@codegroove.dev</email>
</author>
{%- for post in collections.post | reverse %}
{%- set absolutePostUrl %}{{ metadata.url }}{{ post.url }}{% endset %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ absolutePostUrl }}"/>
<updated>{{ post.date | dateToRfc3339 }}</updated>
<id>{{ absolutePostUrl }}</id>
<content type="html">{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
</entry>
{%- endfor %}
</feed>