Skip to content

Commit b3a1fe2

Browse files
committed
site: add rel link to markdown output
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
1 parent 58ca053 commit b3a1fe2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

layouts/partials/head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<meta charset="utf-8" />
22
<meta name="viewport" content="width=device-width, initial-scale=1" />
33
{{ partial "meta.html" . }}
4+
{{- range .AlternativeOutputFormats -}}
5+
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" />
6+
{{ end -}}
47
{{ partial "utils/css.html" "-" }}
58
{{- if hugo.IsProduction -}}
69
<script

0 commit comments

Comments
 (0)