From 2f8b439582eb87a73712635f5900b8ea1dd2a7e3 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 4 Jan 2021 15:49:02 +0100 Subject: [PATCH] layouts: partials: add link to Atom Feed in header --- layouts/partials/head-extra.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/head-extra.html b/layouts/partials/head-extra.html index 2709217..1e65c9f 100644 --- a/layouts/partials/head-extra.html +++ b/layouts/partials/head-extra.html @@ -3,3 +3,6 @@ {{ end }} +{{ with .OutputFormats.Get "atom" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}}