Add <link> to alternate output formats in the page's <head>
This commit is contained in:
parent
53f1f3f45f
commit
115b9dd9cd
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
|
||||
{{ partialCached "base/head/css.html" (dict "page" . "cssResource" "base/css.html") }}
|
||||
{{ partialCached "base/head/js.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue