-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrss.xml
More file actions
29 lines (29 loc) · 1.05 KB
/
rss.xml
File metadata and controls
29 lines (29 loc) · 1.05 KB
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
28
29
---
layout: null
permalink: /rss.xml
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>cb341 Blog</title>
<description>Personal blog and portfolio</description>
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/rss.xml" rel="self" type="application/rss+xml" />
<language>en</language>
<copyright>Copyright (c) {{ "now" | date: "%Y" }} cb341. Licensed under CC BY 4.0.</copyright>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<ttl>60</ttl>
{%- for post in site.posts %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ site.url }}{{ post.url }}</link>
<guid>{{ site.url }}{{ post.url }}</guid>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
{%- if post.tags %}
<tags>{%- for tag in post.tags %}<tag>{{ tag | xml_escape }}</tag>{%- endfor %}</tags>
{%- endif %}
</item>
{%- endfor %}
</channel>
</rss>