summary refs log tree commit diff
path: root/rss.xml
diff options
context:
space:
mode:
Diffstat (limited to 'rss.xml')
-rw-r--r--rss.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/rss.xml b/rss.xml
index 84815bf..bd26cb6 100644
--- a/rss.xml
+++ b/rss.xml
@@ -2,13 +2,15 @@
 ---
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml-stylesheet type="text/xml" href="/feed.xslt.xml"?>
-<rss version="2.0">
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 	<channel>
 		<title>{{ site.title | xml_escape }}</title>
 		<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>		
-		<link>"{{ "/" | absolute_url }}"</link>
+		<link>{{ "/" | absolute_url }}</link>
 		<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
         <language>{{ site.lang | default: "zh-CN" }}</language>
+		<atom:link href="{{ "/rss.xml" | absolute_url }}" rel="self" type="application/rss+xml" />
+		<atom:link href="{{ site.feed.path | absolute_url }}" rel="alternate" type="application/atom+xml" />
 		{% for post in site.posts limit:10 %}
 			<item>
 				<title>{{ post.title | xml_escape }}</title>