mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-24 19:17:12 +00:00
Validate atom feed
This commit is contained in:
parent
dceaae82a3
commit
58533e187e
1 changed files with 4 additions and 2 deletions
6
feed.xml
6
feed.xml
|
@ -20,11 +20,13 @@ layout: none
|
|||
<title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
|
||||
<link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}" />
|
||||
<id>{{ site.url }}{{ post.id }}</id>
|
||||
{% if post.modified %}<updated>{{ post.modified | to_xmlschema }}</updated>
|
||||
<published>{{ post.date | date_to_xmlschema }}</published>
|
||||
{% if post.modified %}<updated>{{ post.modified | to_xmlschema }}</updated>{% endif %}
|
||||
{% else %}<published>{{ post.date | date_to_xmlschema }}</published>
|
||||
<updated>{{ post.date | date_to_xmlschema }}</updated>{% endif %}
|
||||
<author>
|
||||
<name>{{ site.owner.name }}</name>
|
||||
<uri>{{ site.url }}/</uri>
|
||||
<uri>{{ site.url }}</uri>
|
||||
<email>{{ site.owner.email }}</email>
|
||||
</author>
|
||||
<content type="html">{{ post.content | xml_escape }}
|
||||
|
|
Loading…
Reference in a new issue