diff options
| author | Paramtamtam <tarampampam@users.noreply.github.com> | 2020-05-25 10:42:32 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-25 10:42:32 +0500 |
| commit | 91dabb761fa9c70e5553d2ba604afa7768d8c92a (patch) | |
| tree | d4f53ad82cbaf06dd083c36351468e2920f4f7d5 /layouts/partials/header.html | |
| parent | 85ff837f9782be9ff60fa1222eb61ddf76abfc0b (diff) | |
Update header.html
Diffstat (limited to 'layouts/partials/header.html')
| -rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index efd2157..dd941ec 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" . }} |
