From 543032cfc7d0a04ce4c714dfe186716ee05ad45e Mon Sep 17 00:00:00 2001 From: Deepika Date: Thu, 16 Apr 2026 10:47:02 +0530 Subject: [PATCH 1/5] fix: correct branding from 'kanvas.new' to 'Kanvas' - Updated baseURL and canonicalBaseURL in hugo.toml - Improved Open Graph and Twitter meta tags in layouts/partials/head.html Closes #195 Signed-off-by: Deepika --- hugo.toml | 6 +-- layouts/partials/head.html | 80 +++++++++++++++++++++----------------- 2 files changed, 48 insertions(+), 38 deletions(-) diff --git a/hugo.toml b/hugo.toml index 42803c99..4e4ecb54 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -baseURL = "http://www.kanvas.new" +baseURL = "https://kanvas.new" title = "Kanvas" relativeURLs = true canonifyurls = false @@ -31,6 +31,6 @@ enableMissingTranslationPlaceholders = true dark-mode = true logo_light = "images/kanvas-logo-light.svg" logo_dark = "images/kanvas-logo-dark.svg" - description = "Infrastructure as Design for collaborative Cloud and Kubernetesmanagement" + description = "Infrastructure as Design for collaborative Cloud and Kubernetes management" - canonicalBaseURL = "https://www.kanvas.new" + canonicalBaseURL = "https://kanvas.new" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8c5476d7..c1a4fb62 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,36 +1,46 @@ - - - - - - - - - - - {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} - - - - - - - - - - - - - - {{- with site.Params.canonicalBaseURL }} - - {{- end }} - {{- if eq (getenv "HUGO_PREVIEW") "true" }} - - {{- end }} - - - - - {{ partial "head-css.html" . }} + + + + + + + + + + + + + + +{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} + + + + + + + + + + + + + + + + +{{- with site.Params.canonicalBaseURL }} + +{{- end }} + +{{- if eq (getenv "HUGO_PREVIEW") "true" }} + +{{- end }} + + + + + + +{{ partial "head-css.html" . }} \ No newline at end of file From 64e726a6ad9ab371ebdb83a7576f8ea699f503ce Mon Sep 17 00:00:00 2001 From: Deepika Date: Thu, 16 Apr 2026 11:30:10 +0530 Subject: [PATCH 2/5] fix: use absolute URL for og:image and twitter:image Signed-off-by: Deepika --- layouts/partials/head.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c1a4fb62..d2b20e4c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,6 @@ - @@ -21,14 +20,12 @@ - - + - - + {{- with site.Params.canonicalBaseURL }} From a8c99b35667bf20aba5dac827e9bdffbe199884a Mon Sep 17 00:00:00 2001 From: Deepika Date: Thu, 16 Apr 2026 11:50:14 +0530 Subject: [PATCH 3/5] fix: update twitter meta tags and og:image to use correct base URL Signed-off-by: Deepika --- layouts/partials/head.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d2b20e4c..d562cc4e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,12 +20,13 @@ - + - + + {{- with site.Params.canonicalBaseURL }} From ab68dc86b97fed9aa3bca2f25fdf044a3b2ab9a0 Mon Sep 17 00:00:00 2001 From: Deepika Date: Thu, 16 Apr 2026 12:01:00 +0530 Subject: [PATCH 4/5] fix: update twitter meta tags and og:image to use correct base URL Signed-off-by: Deepika --- hugo.toml | 4 ++-- layouts/partials/head.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hugo.toml b/hugo.toml index 4e4ecb54..04b33fcf 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -baseURL = "https://kanvas.new" +baseURL = "/" title = "Kanvas" relativeURLs = true canonifyurls = false @@ -33,4 +33,4 @@ enableMissingTranslationPlaceholders = true logo_dark = "images/kanvas-logo-dark.svg" description = "Infrastructure as Design for collaborative Cloud and Kubernetes management" - canonicalBaseURL = "https://kanvas.new" + canonicalBaseURL = "" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d562cc4e..a5683e86 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,7 +33,7 @@ {{- end }} {{- if eq (getenv "HUGO_PREVIEW") "true" }} - + {{- end }} From 667a02373071beafe8e5fc732463cfc30d82193d Mon Sep 17 00:00:00 2001 From: Deepika Date: Sat, 18 Apr 2026 20:06:51 +0530 Subject: [PATCH 5/5] fix: correct og:image and twitter:image to use absolute URLs --- hugo.toml | 2 +- layouts/partials/head.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hugo.toml b/hugo.toml index 04b33fcf..51013241 100644 --- a/hugo.toml +++ b/hugo.toml @@ -33,4 +33,4 @@ enableMissingTranslationPlaceholders = true logo_dark = "images/kanvas-logo-dark.svg" description = "Infrastructure as Design for collaborative Cloud and Kubernetes management" - canonicalBaseURL = "" + canonicalBaseURL = "https://www.kanvas.new" \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a5683e86..f4af1598 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,12 +20,12 @@ - + - + {{- with site.Params.canonicalBaseURL }}