diff options
Diffstat (limited to 'docs/_vendor/github.com/gohugoio')
5 files changed, 6 insertions, 7 deletions
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css b/docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css index baf3278b0..c08fbc9dc 100644 --- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css +++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css @@ -4828,7 +4828,7 @@ pre { right: 50%;*/ /*margin-left: -30vw;*/ margin-right: -30vw; - max-width: 48vw; + max-width: 100vw; } } .code-block .line-numbers-rows { diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html index c78926503..2cedc384a 100644 --- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html +++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html @@ -17,10 +17,9 @@ var trackOutboundLink = function(id, url) { gtag('event', 'click', { 'event_category': 'outbound', 'event_label': id, - 'transport_type': 'beacon', - 'event_callback': function(){document.location = url;} + 'transport_type': 'beacon' }); } </script> -{{ end }}
\ No newline at end of file +{{ end }} diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html index fa179f7f4..f9f5ec588 100644 --- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html +++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html @@ -13,7 +13,7 @@ {{ $url := printf "%s?%s" . (querify "utm_source" "homepage" "utm_medium" "banner" "utm_campaign" "hugosponsor") | safeURL }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq $.cx.Site.Params.env "production") }} {{ $gtagID := printf "Sponsor %s %s" $banner.name $gtag | title }} - <a href="{{ $url }}" onclick="trackOutboundLink({{ printf "'%s', '%s'" $gtagID $url | safeJS }}); return false;" class="grow"> + <a href="{{ $url }}" onclick="trackOutboundLink({{ printf "'%s', '%s'" $gtagID $url | safeJS }});" class="grow"> {{ else }} <a href="{{ $url }}" class="grow"> {{ end }} diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/site-footer.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/site-footer.html index 39ddb36d1..cff476788 100644 --- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/site-footer.html +++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/site-footer.html @@ -39,7 +39,7 @@ <p class="dib">The Hugo Gopher is based on an original work by RenĂ©e French.</p> </div> - <img src="/images/gopher-side_color.svg" class="absolute-l bottom-0 dn db-l h4 right-0 z-999"/> + <img src="/images/gopher-side_color.svg" alt="" class="absolute-l bottom-0 dn db-l h4 right-0 z-999"/> <div class="bg-primary-color-dark bottom-0 left-0 right-0 dn-l fixed pb3 ph3 w-100"> {{- partial "nav-mobile.html" . -}} diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/single.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/single.html index a7cf439cb..5ae1e07a7 100644 --- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/single.html +++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/single.html @@ -95,7 +95,7 @@ Showcase: {{ .Title }} </a> </li> {{end}} - {{if ge $number_of_entries 20}} + {{if gt $number_of_entries 20}} <li class="mt3"> <a href="/showcase/page/2/" class="link blue"> See More » |