From d53092e8b213c2023e95ba3c6dc59dfc0b2f7815 Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Sun, 8 Sep 2019 22:17:31 +0800
Subject: refactor(head.html): Page's .RSSLink is deprecated
This closes #162, closes #187
---
layouts/partials/head.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'layouts')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 9da15a2..bdfaedd 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -37,9 +37,9 @@
-{{- if .RSSLink }}
-
-
+{{- with .OutputFormats.Get "RSS" }}
+
+
{{- end -}}
--
cgit v1.2.3