diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 71f3f07..ea91f13 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -29,9 +29,9 @@ {{ partial "styles.html" . }} - {{ with .OutputFormats.Get "RSS" }} - {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} - {{ end }} + {{ range .AlternativeOutputFormats -}} + {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} </head> <body> |