Take advantage of date_to_rfc822
Jekyll has a filter built just for this purpose
This commit is contained in:
parent
8d65c9c92f
commit
43074632b3
|
@ -12,7 +12,7 @@ layout: none
|
||||||
<item>
|
<item>
|
||||||
<title>{{ post.title | xml_escape }}</title>
|
<title>{{ post.title | xml_escape }}</title>
|
||||||
<description>{{ post.content | xml_escape }}</description>
|
<description>{{ post.content | xml_escape }}</description>
|
||||||
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
|
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
||||||
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
||||||
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in New Issue