commit 73be24401a1143cf63da7f23a3a060dbc3a54eaf
parent 13ec15d2bb88c252f0d55619f1d18d008dad93d8
Author: Kelson Vibber <kelson@pobox.com>
Date: Mon, 23 Jan 2023 01:23:07 -0800
[feature] Add RSS autodiscovery on profiles that enable RSS (#1373)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/web/template/header.tmpl b/web/template/header.tmpl
@@ -39,6 +39,7 @@
{{ if .ogMeta.ImageWidth }}<meta name="og:image:width" content="{{ .ogMeta.ImageWidth }}">
<meta name="og:image:height" content="{{ .ogMeta.ImageHeight }}">
{{ end }}{{ end }}<link rel="shortcut icon" href="{{ .instance.Thumbnail }}" type="{{ if .instance.ThumbnailType }}{{ .instance.ThumbnailType }}{{ else }}image/png{{ end }}">
+ {{ if .rssFeed }}<link rel="alternate" type="application/rss+xml" href="{{ .rssFeed }}" title="{{ if .ogMeta }}{{ .ogMeta.Title }}{{ else }}{{.instance.Title}}{{ end }}">{{ end }}
<link rel="stylesheet" href="/assets/dist/_colors.css">
<link rel="stylesheet" href="/assets/dist/base.css">
{{range .stylesheets}}<link rel="stylesheet" href="{{.}}">