Change the date format to be RFC-822 compliance
parent
e1678fb679
commit
317f752253
|
@ -14,8 +14,8 @@
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ post.title }}</title>
|
<title>{{ post.title }}</title>
|
||||||
<link>https://blog.kirbylife.dev/post/{{ post.title | slugify }}-{{ post.id }}</link>
|
<link>https://blog.kirbylife.dev/post/{{ post.title | slugify }}-{{ post.id }}</link>
|
||||||
<published>{{ post.created_at | date(format="%Y-%m-%d") }}</published>
|
<published>{{ post.created_at | date(format="%a, %d %b %Y %H:%M:%S GMT") }}</published>
|
||||||
<updated>{{ post.created_at | date(format="%Y-%m-%d") }}</updated>
|
<updated>{{ post.created_at | date(format="%a, %d %b %Y %H:%M:%S GMT") }}</updated>
|
||||||
<author>
|
<author>
|
||||||
<name>kirbylife</name>
|
<name>kirbylife</name>
|
||||||
<email>hola@kirbylife.dev</email>
|
<email>hola@kirbylife.dev</email>
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<rss version="2.0">
|
<rss version="2.0" xmlns:atom="https://blog.kirbylife.dev/atom.xml">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Código Comentado</title>
|
<title>Código Comentado</title>
|
||||||
<link>https://blog.kirbylife.dev</link>
|
<link>https://blog.kirbylife.dev</link>
|
||||||
|
<atom:link href="https://blog.kirbylife.dev/atom.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Blog personal de kirbylife</description>
|
<description>Blog personal de kirbylife</description>
|
||||||
<language>es-mx</language>
|
<language>es-mx</language>
|
||||||
<webMaster>https://kirbylife.dev</webMaster>
|
<webMaster>hola@kirbylife.dev</webMaster>
|
||||||
<managingEditor>https://kirbylife.dev</managingEditor>
|
<managingEditor>hola@kirbylife.dev</managingEditor>
|
||||||
<generator>Rocket</generator>
|
<generator>Rocket</generator>
|
||||||
{%- for post in posts %}
|
{%- for post in posts %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ post.title }}</title>
|
<title>{{ post.title }}</title>
|
||||||
<pubDate>{{ post.created_at | date(format="%Y-%m-%d") }}</pubDate>
|
<pubDate>{{ post.created_at | date(format="%a, %d %b %Y %H:%M:%S GMT") }}</pubDate>
|
||||||
<link>https://blog.kirbylife.dev/post/{{ post.title | slugify }}-{{ post.id }}</link>
|
<link>https://blog.kirbylife.dev/post/{{ post.title | slugify }}-{{ post.id }}</link>
|
||||||
<guid isPermaLink="true">https://blog.kirbylife.dev/post/{{ post.id }}</guid>
|
<guid isPermaLink="true">https://blog.kirbylife.dev/post/{{ post.id }}</guid>
|
||||||
<description>{{ post.content }}</description>
|
<description>{{ post.content }}</description>
|
||||||
|
|
Loading…
Reference in New Issue