From 4054b1b520ae53328027ca477e1a9abc1733a11a Mon Sep 17 00:00:00 2001 From: "V.H. Belvadi" Date: Mon, 15 Apr 2019 10:01:25 +0530 Subject: Updated to-be-deprecated .RSSLink call --- layouts/partials/docs/html-head.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 72542ca..7f7c0cc 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -14,12 +14,11 @@ -{{ if .RSSLink }} - - -{{ end }} +{{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}} {{ "" | safeHTML }} \ No newline at end of file +{{ "-->" | safeHTML }} -- cgit v1.2.3