diff --git a/layouts/partials/head/custom.html b/layouts/partials/head/custom.html
index 6c019d2..948f7c8 100644
--- a/layouts/partials/head/custom.html
+++ b/layouts/partials/head/custom.html
@@ -1,4 +1,3 @@
-
 {{ with .OutputFormats.Get "rss" -}}
-<link rel="alternate" type="application/rss+xml" href="{{ .Permalink }}" title="{{ $.Site.Title | safeHTML }}" />
-{{ end -}}
\ No newline at end of file
+  {{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
+{{ end }}