fix errors which were found by validator

This commit is contained in:
arcan1s 2014-06-09 18:58:06 +04:00
parent ff5f058f97
commit 495d4b3139
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@ layout: none
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>arcanis' blog</title> <title>arcanis' blog</title>
<description>arcanis' blog</description>
<link>{{ site.url }}</link> <link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" /> <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
{% for post in site.categories.en limit:10 %} {% for post in site.categories.en limit:10 %}
@ -14,7 +15,7 @@ layout: none
<item> <item>
<title>{{ post.title | xml_escape }}</title> <title>{{ post.title | xml_escape }}</title>
<description>{{ post.description | xml_escape }}</description> <description>{{ post.description | xml_escape }}</description>
<pubDate>{{ post.date | date_to_string }}</pubDate> <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link> <link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid> <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
</item> </item>

View File

@ -5,6 +5,7 @@ layout: none
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>arcanis' blog</title> <title>arcanis' blog</title>
<description>arcanis' blog</description>
<link>{{ site.url }}/ru</link> <link>{{ site.url }}/ru</link>
<atom:link href="{{ site.url }}/ru/feed.xml" rel="self" type="application/rss+xml" /> <atom:link href="{{ site.url }}/ru/feed.xml" rel="self" type="application/rss+xml" />
{% for post in site.categories.ru limit:10 %} {% for post in site.categories.ru limit:10 %}
@ -14,7 +15,7 @@ layout: none
<item> <item>
<title>{{ post.title | xml_escape }}</title> <title>{{ post.title | xml_escape }}</title>
<description>{{ post.description | xml_escape }}</description> <description>{{ post.description | xml_escape }}</description>
<pubDate>{{ post.date | date_to_string }}</pubDate> <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link> <link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid> <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
</item> </item>