From 4fb96ef753c148548fceda877b2c239c63e4435d Mon Sep 17 00:00:00 2001 From: Micressor <micressor@secure.mailbox.org> Date: Wed, 19 Dec 2018 19:08:11 +0100 Subject: [PATCH] Atom feed: Add explicit feed urls to <head/> for news section --- themes/briar/layouts/partials/head.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/briar/layouts/partials/head.html b/themes/briar/layouts/partials/head.html index bd8ae2c..fc9314f 100644 --- a/themes/briar/layouts/partials/head.html +++ b/themes/briar/layouts/partials/head.html @@ -11,7 +11,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="flattr:id" content="{{ with .Param "flatterid" }}{{ . }}{{ end }}"> + <link href="/news/index.xml" rel="alternate" type="application/rss+xml" title="Briar News" /> + <link href="/index.xml" rel="alternate" type="application/rss+xml" title="Briar - All changes" /> {{ if .RSSLink }} - <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> + <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ with .Title }}{{ . }} - {{ end }} {{ .Site.Title }}" /> {{ end }} </head> -- GitLab