From aece25977559b5644fcb9f1e52e4207a39c7deeb Mon Sep 17 00:00:00 2001 From: Philip K <philip@warpmail.net> Date: Thu, 15 Aug 2019 09:55:58 +0200 Subject: [PATCH] added html head tags for rss/atom feeds --- local/theme.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/local/theme.scm b/local/theme.scm index bead055..8b3f983 100644 --- a/local/theme.scm +++ b/local/theme.scm @@ -44,7 +44,11 @@ (meta (@ (name "referrer") (content "none"))) (meta (@ (name "viewport") (content "width=device-width"))) (title ,title) - (link (@ (rel "stylesheet") (href "/static/style.css")))) + (link (@ (rel "stylesheet") (href "/static/style.css"))) + (link (@ (rel "alternate") (type "application/atom+xml") (title "Atom") + (href ,(string-append (site-domain site) "/feed.xml")))) + (link (@ (rel "alternate") (type "application/rss+xml") (title "RSS") + (href ,(string-append (site-domain site) "/rss-feed.xml"))))) (body (header (nav ,@(list (link '(code "#faui2k17") "/") -- GitLab