Update theme

This commit is contained in:
Bjørn Erik Pedersen 2023-06-15 14:58:56 +02:00
parent 85befbb4dc
commit 4601c1d656
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
6 changed files with 14 additions and 13 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -5,17 +5,15 @@
utm_campaign = "hugosponsor" utm_campaign = "hugosponsor"
[[banners]] [[banners]]
name = "Your Company?" name = "BEP Consulting"
link = "https://bep.is/en/hugo-sponsor-2023-01/" link = "https://github.com/bep/"
logo = "/images/sponsors/your-company.svg" logo = "/images/sponsors/bep-consulting.svg"
utm_campaign = "hugosponsor" utm_campaign = "hugosponsor"
show_on_hover = true bgcolor = "#AD1E1E"
bgcolor = "#004887"
[[banners]] [[banners]]
name = "Your Company?" name = "Your Company?"
link = "https://bep.is/en/hugo-sponsor-2023-01/" link = "https://bep.is/en/hugo-sponsor-2023-01/"
logo = "/images/sponsors/your-company.svg"
utm_campaign = "hugosponsor" utm_campaign = "hugosponsor"
show_on_hover = true show_on_hover = true
bgcolor = "#004887" bgcolor = "#004887"

View File

@ -34,7 +34,7 @@
show-on-hover show-on-hover
{{ end }}" {{ end }}"
style=""> style="">
{{ $logo.Content | safeHTML }} {{ with $logo }}{{ .Content | safeHTML }}{{ end }}
</a> </a>
{{ else }} {{ else }}
<a <a
@ -42,7 +42,7 @@
class="w-100 grow pa3{{ if .show_on_hover }} class="w-100 grow pa3{{ if .show_on_hover }}
show-on-hover show-on-hover
{{ end }}"> {{ end }}">
{{ $logo.Content | safeHTML }} {{ with $logo }}{{ .Content | safeHTML }}{{ end }}
</a> </a>
{{ end }} {{ end }}
</div> </div>

View File

@ -1 +1 @@
# github.com/gohugoio/gohugoioTheme v0.0.0-20230527124826-78bc315d7b8a # github.com/gohugoio/gohugoioTheme v0.0.0-20230615111426-c3725d921127

2
go.mod
View File

@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs
go 1.16 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

2
go.sum
View File

@ -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-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 h1:ruyA3QZ4Ym0fBLhTW2eoUSvHUaj2xWqaPHIbaI+tbZo=
github.com/gohugoio/gohugoioTheme v0.0.0-20230527124826-78bc315d7b8a/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= 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=