From afcc6fdbbfe4d05f5256f89d91f83dda8982e446 Mon Sep 17 00:00:00 2001 From: Jan Kremer Date: Thu, 22 Jan 2026 14:29:24 +0100 Subject: [PATCH] head: Update --- layouts/_partials/head.html | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index d73dfe6..7ea7a54 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -1,17 +1,14 @@ - - - + + + + - -{{ with .OutputFormats.Get "rss" }} - {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} -{{ end }} {{ if .IsHome }} {{ site.Title }} @@ -23,8 +20,8 @@ {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} -{{ with .OutputFormats.Get "rss" -}} - {{ printf `` .Rel .MediaType.Type - .Permalink site.Title | safeHTML - }} +{{ with .OutputFormats.Get "rss" }} + {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} +{{ end }}{{ with .OutputFormats.Get "atom" }} + {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} {{ end }}