File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 2
2
layout: null
3
3
---
4
4
<?xml version =" 1.0" encoding =" UTF-8" ?>
5
- <rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" >
5
+ <rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" xmlns : dc = " http://purl.org/dc/elements/1.1/ " >
6
6
<channel >
7
7
{% if site.title %}
8
8
<title >{{ site.title | xml_escape }}</title >
@@ -16,6 +16,11 @@ layout: null
16
16
{% for post in site.posts limit:20 %}
17
17
<item >
18
18
<title >{{ post.title | strip_html | xml_escape }}</title >
19
+ {% if post.author %}
20
+ <dc : creator ><![CDATA[ {{ post.author | xml_escape }} ]]> </dc : creator >
21
+ {% elsif site.author %}
22
+ <dc : creator ><![CDATA[ {{ site.author | xml_escape }} ]]> </dc : creator >
23
+ {% endif %}
19
24
<description >
20
25
{% if post.subtitle %}{{ post.subtitle | strip_html | xml_escape }} - {% endif %}
21
26
{{ post.content | strip_html | xml_escape | truncatewords: excerpt_length }}
You can’t perform that action at this time.
0 commit comments