summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Kelson Vibber <kelson@pobox.com>2023-01-23 01:23:07 -0800
committerLibravatar GitHub <noreply@github.com>2023-01-23 10:23:07 +0100
commit73be24401a1143cf63da7f23a3a060dbc3a54eaf (patch)
treea1947734d3cf4899e7efafeca57e7ad83413824b
parent[chore] extending maximumPasswordLength to 256 (#1372) (diff)
downloadgotosocial-73be24401a1143cf63da7f23a3a060dbc3a54eaf.tar.xz
[feature] Add RSS autodiscovery on profiles that enable RSS (#1373)
-rw-r--r--web/template/header.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/template/header.tmpl b/web/template/header.tmpl
index 8f0cc2ee5..0557982fd 100644
--- 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="{{.}}">