Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-07-11 14:30:35 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-07-11 14:30:35 +0300
commitc3b4f84106cf312fa2698c60c43c2b46bc4969e3 (patch)
treedcb124b54da54a45209617868773fb43be65b0a4 /_vendor
parent0aaecc16c78a6b853af07a207d0b1c21212d74c9 (diff)
Update theme
Diffstat (limited to '_vendor')
-rw-r--r--_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css2
-rw-r--r--_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html5
-rw-r--r--_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html2
-rw-r--r--_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/site-footer.html2
-rw-r--r--_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/single.html2
-rw-r--r--_vendor/modules.txt2
6 files changed, 7 insertions, 8 deletions
diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css b/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css
index baf3278b0..c08fbc9dc 100644
--- a/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css
+++ b/_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/_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" . -}}
diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/single.html b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/single.html
index a7cf439cb..5ae1e07a7 100644
--- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/single.html
+++ b/_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 &raquo;
diff --git a/_vendor/modules.txt b/_vendor/modules.txt
index 0809f3f26..200400694 100644
--- a/_vendor/modules.txt
+++ b/_vendor/modules.txt
@@ -1 +1 @@
-# github.com/gohugoio/gohugoioTheme v0.0.0-20200518165806-0095b7b902a7
+# github.com/gohugoio/gohugoioTheme v0.0.0-20200711112515-b0dfe471654f