Skip to content

Commit

Permalink
Merge pull request #37140 from sftim/20221003_move_canonical_link_ear…
Browse files Browse the repository at this point in the history
…lier

Move canonical link earlier in metadata
  • Loading branch information
k8s-ci-robot committed Oct 20, 2022
2 parents 7b5b4e5 + a1f43e9 commit fc4a48e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/blog/baseof.html
@@ -1,12 +1,12 @@
<!doctype html>
<html lang="{{ .Site.Language.Lang }}" class="no-js">
<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 }}
<link rel="canonical" href="{{ . }}">
{{ 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>
<body class="td-{{ .Kind }} td-blog">
<header>
Expand Down

0 comments on commit fc4a48e

Please sign in to comment.