Add alternate language link tags in head.
This commit is contained in:
parent
724cdbf6b3
commit
ae3ca2e41c
1 changed files with 5 additions and 0 deletions
|
|
@ -17,6 +17,11 @@
|
|||
{{ with .Site.Params.piwikTrackerUrl }}<link rel="dns-prefetch" href="https://{{ . }}">{{ end }}
|
||||
{{ with $.Param "microusername" }}<link rel="me" href="https://micro.blog/{{ . }}">{{ end }}
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ if .IsTranslated -}}
|
||||
{{ range .Translations }}
|
||||
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .RelPermalink }}">
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}">
|
||||
{{ if $.Param "realfavicongenerator" -}}
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}">
|
||||
|
|
|
|||
Loading…
Reference in a new issue