Browse Source

Versuch einer stabileren ID, weil der Validator gemeckert hat

master
Christian Aust 2 months ago
parent
commit
019897b352
  1. 7
      atom.xml

7
atom.xml

@ -7,13 +7,14 @@ sitemap: false
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
<link href="{{ '/atom.xml' | absolute_url }}" rel="self" />
<link href="{{ site.url }}" />
<link href="{{ '/' | absolute_url }}" rel="alternate" />
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}</id>
<id>{{ '/' | absolute_url }}</id>
<author>
<name>{{ site.author.name }}</name>
<email>{{ site.author.email }}</email>
</author>
<rights>Copyright (c) {{ site.time | date: '%Y' }}, {{ site.author.name }}; all rights reserved.</rights>
{% for post in site.posts %}
{% unless post.published == false %}
@ -26,7 +27,7 @@ sitemap: false
{% else %}
<updated>{{ post.date | date_to_xmlschema }}</updated>
{% endif %}
<id>{{ site.url }}{{ site.baseurl }}{{ post.id }}</id>
<id>{{ site.url }}{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endunless %}

Loading…
Cancel
Save