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