From 074b1ff11dfba1f857873f82ee39c07382d07219 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sat, 14 Aug 2021 13:54:17 +1000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20RSS=20feeds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + layouts/partials/head.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index cf8a22d1..b29107c3 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Congo is designed to be a fast, lightweight theme for Hugo. It's based upon Tail - Heading anchors - HTML and Emoji support in articles - SEO friendly +- RSS feeds - Fathom Analytics and Google Analytics support - Favicons support - Comments support diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 93520d5e..dd2e8c61 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -23,6 +23,9 @@ {{- end }} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} {{/* Styles */}} {{ if (fileExists "static/css/custom.css") -}}