Squashed 'docs/' changes from cfd74b57d..c3b4f8410

c3b4f8410 Update theme
0aaecc16c Remove unnecessary period. (#1168)

git-subtree-dir: docs
git-subtree-split: c3b4f84106cf312fa2698c60c43c2b46bc4969e3
This commit is contained in:
Bjørn Erik Pedersen 2020-07-13 11:01:55 +02:00
parent 6aa5c9117f
commit 823ce055ed
9 changed files with 11 additions and 10 deletions

View file

@ -4828,7 +4828,7 @@ pre {
right: 50%;*/ right: 50%;*/
/*margin-left: -30vw;*/ /*margin-left: -30vw;*/
margin-right: -30vw; margin-right: -30vw;
max-width: 48vw; max-width: 100vw;
} }
} }
.code-block .line-numbers-rows { .code-block .line-numbers-rows {

View file

@ -17,10 +17,9 @@ var trackOutboundLink = function(id, url) {
gtag('event', 'click', { gtag('event', 'click', {
'event_category': 'outbound', 'event_category': 'outbound',
'event_label': id, 'event_label': id,
'transport_type': 'beacon', 'transport_type': 'beacon'
'event_callback': function(){document.location = url;}
}); });
} }
</script> </script>
{{ end }} {{ end }}

View file

@ -13,7 +13,7 @@
{{ $url := printf "%s?%s" . (querify "utm_source" "homepage" "utm_medium" "banner" "utm_campaign" "hugosponsor") | safeURL }} {{ $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") }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq $.cx.Site.Params.env "production") }}
{{ $gtagID := printf "Sponsor %s %s" $banner.name $gtag | title }} {{ $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 }} {{ else }}
<a href="{{ $url }}" class="grow"> <a href="{{ $url }}" class="grow">
{{ end }} {{ end }}

View file

@ -39,7 +39,7 @@
<p class="dib">The Hugo Gopher is based on an original work by Renée French.</p> <p class="dib">The Hugo Gopher is based on an original work by Renée French.</p>
</div> </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"> <div class="bg-primary-color-dark bottom-0 left-0 right-0 dn-l fixed pb3 ph3 w-100">
{{- partial "nav-mobile.html" . -}} {{- partial "nav-mobile.html" . -}}

View file

@ -95,7 +95,7 @@ Showcase: {{ .Title }}
</a> </a>
</li> </li>
{{end}} {{end}}
{{if ge $number_of_entries 20}} {{if gt $number_of_entries 20}}
<li class="mt3"> <li class="mt3">
<a href="/showcase/page/2/" class="link blue"> <a href="/showcase/page/2/" class="link blue">
See More &raquo; See More &raquo;

View file

@ -1 +1 @@
# github.com/gohugoio/gohugoioTheme v0.0.0-20200518165806-0095b7b902a7 # github.com/gohugoio/gohugoioTheme v0.0.0-20200711112515-b0dfe471654f

View file

@ -1,7 +1,7 @@
--- ---
title: Taxonomies title: Taxonomies
linktitle: linktitle:
description: Hugo includes support for user-defined taxonomies.. description: Hugo includes support for user-defined taxonomies.
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
keywords: [taxonomies,metadata,front matter,terms] keywords: [taxonomies,metadata,front matter,terms]

2
go.mod
View file

@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs
go 1.12 go 1.12
require github.com/gohugoio/gohugoioTheme v0.0.0-20200518165806-0095b7b902a7 // indirect require github.com/gohugoio/gohugoioTheme v0.0.0-20200711112515-b0dfe471654f // indirect

2
go.sum
View file

@ -21,3 +21,5 @@ github.com/gohugoio/gohugoioTheme v0.0.0-20200518164958-62cbad03c40f h1:Ge3JACsz
github.com/gohugoio/gohugoioTheme v0.0.0-20200518164958-62cbad03c40f/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs= github.com/gohugoio/gohugoioTheme v0.0.0-20200518164958-62cbad03c40f/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
github.com/gohugoio/gohugoioTheme v0.0.0-20200518165806-0095b7b902a7 h1:Sy0hlWyZmFtdSY0Cobvw1ZYm3G1aR5+4DuFNRbMkh48= github.com/gohugoio/gohugoioTheme v0.0.0-20200518165806-0095b7b902a7 h1:Sy0hlWyZmFtdSY0Cobvw1ZYm3G1aR5+4DuFNRbMkh48=
github.com/gohugoio/gohugoioTheme v0.0.0-20200518165806-0095b7b902a7/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs= github.com/gohugoio/gohugoioTheme v0.0.0-20200518165806-0095b7b902a7/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
github.com/gohugoio/gohugoioTheme v0.0.0-20200711112515-b0dfe471654f h1:BWJyycs4HD7tUbaU8RIGeMay84bIBWRVVLE3yajPas4=
github.com/gohugoio/gohugoioTheme v0.0.0-20200711112515-b0dfe471654f/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=