Update theme

This commit is contained in:
Bjørn Erik Pedersen
2024-11-01 09:50:45 +01:00
parent 76a9f90b2d
commit 09b1149144
6 changed files with 31 additions and 9 deletions
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.1 KiB

@@ -15,9 +15,9 @@
link_attr = "style='color: #ffffff; font-weight: bold; text-decoration: none; text-align: center'"
[[banners]]
name = "Your Company?"
link = "https://bep.is/en/hugo-sponsor-2023-01/"
utm_campaign = "hugosponsor"
show_on_hover = true
bgcolor = "#4e4f4f"
link_attr = "style='color: #ffffff; font-weight: bold; text-decoration: none; text-align: center'"
name = "GoLand"
title = "The complete IDE crafted for professional Go developers."
no_query_params = true
link = "https://www.jetbrains.com/go/?utm_source=OSS&utm_medium=referral&utm_campaign=hugo"
logo = "images/sponsors/goland.svg"
bgcolor = "#f4f4f4"
@@ -25,7 +25,7 @@
{{ $query_params := .query_params | default "" }}
{{ $url := .link }}
{{ if not .no_query_params }}
{{ $url = printf "%s?%s%s" .link $query_params (querify "utm_source" (.utm_source | default $utmSource ) "utm_medium" "banner" "utm_campaign" (.utm_campaign | default "hugosponsor") "utm_content" (.utm_content | default "gohugoio")) | safeURL }}
{{ $url = printf "%s?%s%s" .link $query_params (querify "utm_source" (.utm_source | default $utmSource ) "utm_medium" (.utm_medium | default "banner") "utm_campaign" (.utm_campaign | default "hugosponsor") "utm_content" (.utm_content | default "gohugoio")) | safeURL }}
{{ end }}
{{ $logo := resources.Get .logo }}
{{ $gtagID := printf "Sponsor %s %s" .name $gtag | title }}
+1 -1
View File
@@ -1 +1 @@
# github.com/gohugoio/gohugoioTheme v0.0.0-20241016200921-2bc95089d866
# github.com/gohugoio/gohugoioTheme v0.0.0-20241101084928-e9fbbd3dc24e
+1 -1
View File
@@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs
go 1.16
require github.com/gohugoio/gohugoioTheme v0.0.0-20241016200921-2bc95089d866 // indirect
require github.com/gohugoio/gohugoioTheme v0.0.0-20241101084928-e9fbbd3dc24e // indirect
+2
View File
@@ -18,3 +18,5 @@ github.com/gohugoio/gohugoioTheme v0.0.0-20240927143207-9be2119ff8d1 h1:A/pBaRPb
github.com/gohugoio/gohugoioTheme v0.0.0-20240927143207-9be2119ff8d1/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM=
github.com/gohugoio/gohugoioTheme v0.0.0-20241016200921-2bc95089d866 h1:vewQEurKcWccnpiDsSIDYRSqzrhZDTE2s6RubeRD8Qo=
github.com/gohugoio/gohugoioTheme v0.0.0-20241016200921-2bc95089d866/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM=
github.com/gohugoio/gohugoioTheme v0.0.0-20241101084928-e9fbbd3dc24e h1:m8B4FG+JWH7MaZMlcD2zvnzqxwuorLRvs+eyoZ6HGME=
github.com/gohugoio/gohugoioTheme v0.0.0-20241101084928-e9fbbd3dc24e/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM=