diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/assets/images/sponsors/bep-consulting.svg b/_vendor/github.com/gohugoio/gohugoioTheme/assets/images/sponsors/bep-consulting.svg index 5b1170f9b..734a3dcdf 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/assets/images/sponsors/bep-consulting.svg +++ b/_vendor/github.com/gohugoio/gohugoioTheme/assets/images/sponsors/bep-consulting.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/data/sponsors.toml b/_vendor/github.com/gohugoio/gohugoioTheme/data/sponsors.toml index 71167bfd4..a23e27bd4 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/data/sponsors.toml +++ b/_vendor/github.com/gohugoio/gohugoioTheme/data/sponsors.toml @@ -5,17 +5,15 @@ utm_campaign = "hugosponsor" [[banners]] - name = "Your Company?" - link = "https://bep.is/en/hugo-sponsor-2023-01/" - logo = "/images/sponsors/your-company.svg" - utm_campaign = "hugosponsor" - show_on_hover = true - bgcolor = "#004887" + name = "BEP Consulting" + link = "https://github.com/bep/" + logo = "/images/sponsors/bep-consulting.svg" + utm_campaign = "hugosponsor" + bgcolor = "#AD1E1E" [[banners]] name = "Your Company?" link = "https://bep.is/en/hugo-sponsor-2023-01/" - logo = "/images/sponsors/your-company.svg" utm_campaign = "hugosponsor" show_on_hover = true bgcolor = "#004887" diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html index 32bc44f6a..0f4760d37 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html +++ b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html @@ -34,7 +34,7 @@ show-on-hover {{ end }}" style=""> - {{ $logo.Content | safeHTML }} + {{ with $logo }}{{ .Content | safeHTML }}{{ end }} {{ else }} - {{ $logo.Content | safeHTML }} + {{ with $logo }}{{ .Content | safeHTML }}{{ end }} {{ end }} diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 1c7cac307..e7b96c2c3 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# github.com/gohugoio/gohugoioTheme v0.0.0-20230527124826-78bc315d7b8a +# github.com/gohugoio/gohugoioTheme v0.0.0-20230615111426-c3725d921127 diff --git a/go.mod b/go.mod index 3c5460fd5..9c16d4faf 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs go 1.16 -require github.com/gohugoio/gohugoioTheme v0.0.0-20230527124826-78bc315d7b8a // indirect +require github.com/gohugoio/gohugoioTheme v0.0.0-20230615111426-c3725d921127 // indirect diff --git a/go.sum b/go.sum index 9db956ea8..b29dafae9 100644 --- a/go.sum +++ b/go.sum @@ -65,3 +65,5 @@ github.com/gohugoio/gohugoioTheme v0.0.0-20230418063032-99f9185b8e11 h1:mDcricMe github.com/gohugoio/gohugoioTheme v0.0.0-20230418063032-99f9185b8e11/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= github.com/gohugoio/gohugoioTheme v0.0.0-20230527124826-78bc315d7b8a h1:ruyA3QZ4Ym0fBLhTW2eoUSvHUaj2xWqaPHIbaI+tbZo= github.com/gohugoio/gohugoioTheme v0.0.0-20230527124826-78bc315d7b8a/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= +github.com/gohugoio/gohugoioTheme v0.0.0-20230615111426-c3725d921127 h1:LaOUdx1uo/Pr8Vr9KbqTwioia9OhNSiZDOHQGNHZiOs= +github.com/gohugoio/gohugoioTheme v0.0.0-20230615111426-c3725d921127/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM=