Skip to content

Commit 8d9b55c

Browse files
committed
Fix a few validation issus with rss feed.
1 parent ab7e232 commit 8d9b55c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_includes/image.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<table class="image">
22
<caption align="bottom">{{ include.description }}</caption>
3-
<tr><td><img src="{{ site.baseurl }}/{{ include.url }}" alt="{{ include.description }}"/></td></tr>
3+
<tr><td><img src="{{site.url}}{{site.baseurl}}/{{ include.url }}" alt="{{ include.description }}"/></td></tr>
44
</table>

feed.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ layout: none
44
<?xml version="1.0" encoding="UTF-8"?>
55
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
66
<channel>
7-
<title>{{ site.name | xml_escape }}</title>
7+
<title>{{ site.title | xml_escape }}</title>
88
<description>{{ site.description | xml_escape }}</description>
9-
<link>{{ site.url }}</link>
10-
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
9+
<link>{{site.url}}{{site.baseurl}}</link>
10+
<atom:link href="{{site.url}}{{site.baseurl}}/feed.xml" rel="self" type="application/rss+xml" />
1111
{% for part in site.parts limit:10 %}
1212
<item>
1313
<title>{{ part.title | xml_escape }}</title>

0 commit comments

Comments
 (0)