From 91dabb761fa9c70e5553d2ba604afa7768d8c92a Mon Sep 17 00:00:00 2001 From: Paramtamtam <tarampampam@users.noreply.github.com> Date: Mon, 25 May 2020 10:42:32 +0500 Subject: [PATCH] Update header.html --- layouts/partials/header.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index efd2157f..dd941ec9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -24,7 +24,9 @@ <!-- Generator --> {{- hugo.Generator }} <!-- RSS --> - <link rel="alternate" type="application/atom+xml" href="{{ "index.xml" | absURL }}" title="{{ .Site.Title }}"> + {{ range .AlternativeOutputFormats -}} + {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} <!-- Misc --> {{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} {{- template "_internal/google_analytics_async.html" . }}