Move link rel canonical from meta.html that is cached and add it directly in baseof.html

This commit is contained in:
Fredrik Jonsson 2017-05-30 12:24:38 +02:00
commit 72948a55f0

View file

@ -4,7 +4,8 @@
<meta charset="utf-8">
<title>{{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
{{ block "meta" . }}{{ end }}
{{ partialCached "meta.html" . -}}
{{- partialCached "meta.html" . -}}
<link rel="canonical" href="{{ .Permalink }}">
</head>
<body class="{{ if $.Param "sidebar" | default true }}one-sidebar sidebar-second{{ else }}no-sidebars{{ end }}">