From 82afe4835238fb9b3c817dc54089d52ed5152ee4 Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Mon, 2 Jan 2017 04:37:11 +0100 Subject: [PATCH] Add feed link to index template. --- processor/metadata/index.tmpl.do | 1 + test/test_files/index.html | 1 + 2 files changed, 2 insertions(+) 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> -- 2.30.2