diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-07-13 11:01:55 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-07-13 11:01:55 +0200 |
commit | 823ce055ed3356da37e9ec4ac70446bdbbaa8de8 (patch) | |
tree | dcb124b54da54a45209617868773fb43be65b0a4 /_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials | |
parent | 6aa5c9117fd34644459ea9bcfb1b3f5010658d5d (diff) |
c3b4f8410 Update theme
0aaecc16c Remove unnecessary period. (#1168)
git-subtree-dir: docs
git-subtree-split: c3b4f84106cf312fa2698c60c43c2b46bc4969e3
Diffstat (limited to '_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials')
3 files changed, 4 insertions, 5 deletions
diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html index c78926503..2cedc384a 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html +++ b/_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/_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 fa179f7f4..f9f5ec588 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 @@ -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/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/site-footer.html b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/site-footer.html index 39ddb36d1..cff476788 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/site-footer.html +++ b/_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" . -}} |