remove slashes from atom.xml urls
authorMark Otto <markdotto@gmail.com>
Sun, 21 Jun 2015 23:40:35 +0000 (16:40 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 21 Jun 2015 23:40:35 +0000 (16:40 -0700)
atom.xml

index c150126d41f46cff25164c40a7d90500b474029e..bafc806e0a33e7db2b8a53896f8fb0b04983b1fb 100644 (file)
--- a/atom.xml
+++ b/atom.xml
@@ -6,8 +6,8 @@ layout: null
 <feed xmlns="http://www.w3.org/2005/Atom">
 
  <title>{{ site.title }}</title>
- <link href="{{ site.url }}/{{ site.baseurl }}/atom.xml" rel="self"/>
- <link href="{{ site.url }}/{{ site.baseurl }}"/>
+ <link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self"/>
+ <link href="{{ site.url }}{{ site.baseurl }}/"/>
  <updated>{{ site.time | date_to_xmlschema }}</updated>
  <id>{{ site.url }}</id>
  <author>
@@ -18,7 +18,7 @@ layout: null
  {% for post in site.posts %}
  <entry>
    <title>{{ post.title }}</title>
-   <link href="{{ site.url }}/{{ site.baseurl }}/{{ post.url }}"/>
+   <link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}"/>
    <updated>{{ post.date | date_to_xmlschema }}</updated>
    <id>{{ site.url }}{{ post.id }}</id>
    <content type="html">{{ post.content | xml_escape }}</content>