From 95e4721c2b27ee941a52ae0c69feb61dca19056a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Zaj=C4=85czkowski?= Date: Thu, 27 Feb 2020 22:39:06 +0100 Subject: [PATCH] Use canonicalUrl parameter for canonical tag in meta headers If defined. Fallback to .Permalink as before. --- layouts/partials/head/meta.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index 45e254d..b2007b4 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -54,7 +54,11 @@ +{{ if $.Param "canonicalUrl" }} + +{{ else }} +{{ end }} {{ if $.Site.Params.useFaviconGenerator }}