From 178b1560e1e169bb324b516f0d5f92a9053a0a70 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 3 Oct 2020 14:47:42 +0530 Subject: [PATCH] head: AlternativeOutputFormats impl as in hugo docs * https://gohugo.io/templates/output-formats/#list-output-formats --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index add9497d..a556f72b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -43,8 +43,8 @@ {{- hugo.Generator }} {{- range .AlternativeOutputFormats -}} -{{- printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} -{{- end -}} + +{{ end -}} {{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} {{- template "_internal/google_analytics_async.html" . }}