From a29d4ed1363cd242b9de8b595e907a5b4b627a54 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 6 Nov 2022 15:59:34 +0000 Subject: [PATCH] feat: add support for Hugo v0.101.0 breaking changes Hugo v0.101.0 had breaking changes to relURL and relLangURL See https://github.com/gohugoio/hugo/issues/9994 See https://discourse.gohugo.io/t/changing-the-title-link/41239/5 --- modules/wowchemy-seo/layouts/index.webmanifest | 2 +- modules/wowchemy/layouts/partials/navbar.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/wowchemy-seo/layouts/index.webmanifest b/modules/wowchemy-seo/layouts/index.webmanifest index ec443066..0d30abc5 100644 --- a/modules/wowchemy-seo/layouts/index.webmanifest +++ b/modules/wowchemy-seo/layouts/index.webmanifest @@ -16,5 +16,5 @@ "type": "image/png" }], "display": "standalone", - "start_url": "{{ "/" | relLangURL }}?utm_source=web_app_manifest" + "start_url": "{{ site.Home.RelPermalink }}?utm_source=web_app_manifest" } diff --git a/modules/wowchemy/layouts/partials/navbar.html b/modules/wowchemy/layouts/partials/navbar.html index 6d79dd1b..de972f13 100644 --- a/modules/wowchemy/layouts/partials/navbar.html +++ b/modules/wowchemy/layouts/partials/navbar.html @@ -19,7 +19,7 @@ {{if $show_logo}}
- + {{- if $has_logo -}} {{ site.Title }} - + {{- if $has_logo -}}