We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50558ed + 4faf3de commit 14b387eCopy full SHA for 14b387e
layouts/partials/header.html
@@ -1,5 +1,10 @@
1
<head>
2
<link href="https://gmpg.org/xfn/11" rel="profile">
3
+ {{ if .Params.canonicalUrl }}
4
+ <link rel="canonical" href="{{ .Params.canonicalUrl }}">
5
+ {{ else }}
6
+ <link rel="canonical" href="{{ .Permalink }}">
7
+ {{ end }}
8
{{ partial "header/meta.html" . }}
9
{{ partial "header/styles.html" . }}
10
{{ `<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
0 commit comments