Skip to content

Commit 1aa854c

Browse files
committed
Fix feed.xml
1 parent b797474 commit 1aa854c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

feed.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
---
2-
layout: rss-feed
32
---
4-
<?xml version="1.0"?>
53
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
64
<channel>
7-
<title>{{ site.blog_title }}</title>
5+
<title>{{ site.info.title }}</title>
86
<link>{{ site.url }}</link>
97
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
10-
<description>{{ site.blog_subtitle }}</description>
8+
<description>{{ site.info.subtitle }}</description>
119
<language>en-us</language>
1210
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
1311
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
@@ -18,9 +16,8 @@ layout: rss-feed
1816
<title>{{ post.title }}</title>
1917
<link>{{ site.url }}{{ post.url }}</link>
2018
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
21-
<author>{{ post.author_name }}</author>
2219
<guid>{{ site.url }}{{ post.id }}</guid>
23-
<description>{{ post.content | xml_escape }}</description>
20+
<description>{{ post.excerpt | xml_escape }}</description>
2421
</item>
2522
{% endunless %}
2623
{% endfor %}

0 commit comments

Comments
 (0)