Fix support for relative urls, general cleanup
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
---
|
||||
layout: null
|
||||
---
|
||||
{% include base.html %}
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<id>{{ site.baseurl }}/</id>
|
||||
<id>{{ site.absolute }}/{{ site.baseurl }}/</id>
|
||||
<title>{{ site.author }}</title>
|
||||
<link href="{{ site.absolute }}/blog/atom.xml" rel="self"/>
|
||||
<link href="{{ site.absolute }}/"/>
|
||||
<link href="{{ site.absolute }}/{{ site.baseurl }}/blog/atom.xml" rel="self" />
|
||||
<link href="{{ site.absolute }}/{{ site.baseurl }}/" />
|
||||
<updated>{{ site.time|date_to_xmlschema }}</updated>
|
||||
<author>
|
||||
<name>{{ site.author }}</name>
|
||||
@@ -17,7 +16,7 @@ layout: null
|
||||
<entry>
|
||||
<id>{{ site.absolute }}/{{ post.id }}</id>
|
||||
<title>{{ post.title }}</title>
|
||||
<link href="{{ site.absolute }}{{ post.url }}"/>
|
||||
<link href="{{ site.absolute }}/{{ site.baseurl }}{{ post.url }}"/>
|
||||
<updated>{{ post.date|date_to_xmlschema }}</updated>
|
||||
<content type="html">{{ post.content|xml_escape }}</content>
|
||||
</entry>
|
||||
|
||||
Reference in New Issue
Block a user