Merge pull request #37140 from sftim/20221003_move_canonical_link_earlier
Move canonical link earlier in metadatapull/37421/head
commit
fc4a48ee3c
|
@ -1,12 +1,12 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{ .Site.Language.Lang }}" class="no-js">
|
<html lang="{{ .Site.Language.Lang }}" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
{{ partial "head.html" . }}
|
|
||||||
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
|
|
||||||
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
|
|
||||||
{{ with .Params.canonicalUrl }}
|
{{ with .Params.canonicalUrl }}
|
||||||
<link rel="canonical" href="{{ . }}">
|
<link rel="canonical" href="{{ . }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ partial "head.html" . }}
|
||||||
|
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
|
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="td-{{ .Kind }} td-blog">
|
<body class="td-{{ .Kind }} td-blog">
|
||||||
<header>
|
<header>
|
||||||
|
|
Loading…
Reference in New Issue