summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 8eb09f9..a324697 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -55,4 +55,9 @@
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="{{ "apple-touch-icon-precomposed.png" | relURL }}">
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}">
+
+ <!-- RSS -->
+ {{- with .OutputFormats.Get "rss" }}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
+ {{- end }}
</head>