about summary refs log tree commit diff stats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorAlan Pearce2019-06-15 20:32:22 +0200
committerAlan Pearce2019-06-15 20:32:22 +0200
commitcd464ebccfc2d517bce1abccbcb43e7f3d1948d3 (patch)
treed27bd82aa0017ce0d285bdd1369430b9a590920b /layouts/partials/head.html
parent15a6ffcdbbba13c1635c0fc45bfbf4313e75c074 (diff)
parente36f5799b396ecf7a665b330da8cac5b0b6e2891 (diff)
downloadhyde-main.tar.lz
hyde-main.tar.zst
hyde-main.zip
Merge remote-tracking branch 'upstream/master' into HEAD HEAD master main
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 5d1df3c..d7b936c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html lang="en-GB">
   <head>
+    <link href="//gmpg.org/xfn/11" rel="profile">
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width,initial-scale=1">
 
@@ -18,6 +19,8 @@
     <link rel="prefetch" href="/css/syntax.css">
     {{- end }}
     <link rel="stylesheet" href="/css/hyde.css">
-    <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
+    {{ range .AlternativeOutputFormats -}}
+      {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
+    {{ end -}}
     {{ partial "hook_head_end.html" . }}
-  </head>
\ No newline at end of file
+  </head>