Update feed with site name (#1547)

The site's title is set in `_config.yml`, so change `site.name` to `site.title`.
This commit is contained in:
maiki
2017-12-20 15:18:03 -08:00
committed by Jeremy Thomas
parent 84bfd6dd60
commit 48b1b916f1

View File

@@ -3,13 +3,13 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel> <channel>
<title>{{ site.name | xml_escape }}</title> <title>{{ site.title | xml_escape }}</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description> <description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
<link>{{ site.url }}</link> <link>{{ site.url }}</link>
<id>{{ site.url }}</id> <id>{{ site.url }}</id>
<updated>{{ site.time | date_to_xmlschema }}</updated> <updated>{{ site.time | date_to_xmlschema }}</updated>
<author> <author>
<name>{{ site.name }}</name> <name>{{ site.title }}</name>
<email>bbxdesign@gmail.com</email> <email>bbxdesign@gmail.com</email>
</author> </author>
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" /> <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />