From 4279e2e2c2cb9b6d8fe452b9ccc429bfe6de1481 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Thu, 18 Apr 2019 16:57:59 -0600 Subject: [PATCH 1/3] updated canonical partial to render on every page --- layouts/partials/header/canonical.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/layouts/partials/header/canonical.html b/layouts/partials/header/canonical.html index e9d8249af..5403a0af5 100644 --- a/layouts/partials/header/canonical.html +++ b/layouts/partials/header/canonical.html @@ -1,7 +1,4 @@ -{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) .RelPermalink }} {{ $stableVersion := $.Site.Data.versions.stable_version }} {{ $canonicalURL := print (replaceRE `\/$` "" .Site.BaseURL) (replaceRE "[^/]+.*?[0]" $stableVersion .RelPermalink) }} -{{ if not (eq $currentVersion $stableVersion) }} - -{{ end }} + From 6984b17dab33ce6c3e8889218cabca3558b49f0c Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 19 Apr 2019 10:18:03 -0600 Subject: [PATCH 2/3] replaced menu variables in sidebar partial --- layouts/partials/sidebar.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 8826761dc..cda295233 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -24,9 +24,11 @@