From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 2 Jan 2017 03:37:11 +0000 (+0100)
Subject: Add feed link to index template.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Bdb.prefix%7D%7D/edit?a=commitdiff_plain;h=82afe4835238fb9b3c817dc54089d52ed5152ee4;p=redo-blog

Add feed link to index template.
---

diff --git a/processor/metadata/index.tmpl.do b/processor/metadata/index.tmpl.do
index c2a9c21..7d567a8 100644
--- a/processor/metadata/index.tmpl.do
+++ b/processor/metadata/index.tmpl.do
@@ -5,6 +5,7 @@ cat << EOF
 <!DOCTYPE html>
 <html>
 <head>
+<link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
 <title>%TITLE%</title>
 </head>
 <body>
diff --git a/test/test_files/index.html b/test/test_files/index.html
index 84fdfb3..a2660a1 100644
--- a/test/test_files/index.html
+++ b/test/test_files/index.html
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html>
 <head>
+<link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
 <title>Yet another blog</title>
 </head>
 <body>