summaryrefslogtreecommitdiffstats
path: root/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-03-21 13:31:17 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-03-21 13:31:17 +0100
commitc94aa5cf46f91d777a61595b37835c40f1bddff1 (patch)
tree61006006ed306e05a7f2a280fc675478f2216676 /docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts
parentdf8bb8812f466bce563cdba297db3cd3f954a799 (diff)
parent81689af79901f0cdaff765cda6322dd4a9a7ccb3 (diff)
Diffstat (limited to 'docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts')
-rw-r--r--docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/baseof.html7
-rw-r--r--docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/single.html44
-rw-r--r--docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html2
-rw-r--r--docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/installation.html3
-rw-r--r--docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/sponsors.html4
-rw-r--r--docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/list.html2
6 files changed, 30 insertions, 32 deletions
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/baseof.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/baseof.html
index a83d3f662..0de21a255 100644
--- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/baseof.html
+++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/baseof.html
@@ -39,6 +39,8 @@
{{ $.Scratch.Set "stylesheet" . }}
{{end}}
+ <meta name="description"
+ content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ block "scripts" . }}
{{- partial "site-scripts.html" . -}}
@@ -53,9 +55,6 @@
{{ partial "gtag" . }}
{{ end }}
-
-
-
</head>
<body class="ma0 sans-serif bg-primary-color-light{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
@@ -69,4 +68,4 @@
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/single.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/single.html
index 48c015c51..8cd289624 100644
--- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/single.html
+++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/single.html
@@ -1,31 +1,31 @@
{{ define "main" }}
-<article class="w-100 ph4 pb5 pb6-ns pt1 pt5-ns">
- <div class="flex-l">
+ <article class="w-100 ph4 pb5 pb6-ns pt1 pt5-ns">
+ <div class="flex-l">
- <div class="order-2 w-100 w-20-l ph5-m ph0-l mb4 sticky">
+ <div class="order-2 w-100 w-20-l ph5-m ph0-l mb4 sticky">
{{- partial "toc.html" . -}}
- </div>
+ </div>
- <div class="order-1 w-60-l mw7 ph0 ph5-ns mid-gray nested-copy-line-height no-underline nested-links nested-img nested-copy-seperator nested-blockquote mt0-ns" style="flex-grow:1;">
- <div class="documentation-copy center measure-wide-l">
- <div id="readout" class="fixed right-0 bottom-0">
+ <div class="order-1 w-60-l mw7 ph0 ph5-ns mid-gray nested-copy-line-height no-underline nested-links nested-img nested-copy-seperator nested-blockquote mt0-ns" style="flex-grow:1;">
+ <div class="documentation-copy center measure-wide-l">
+ <div id="readout" class="fixed right-0 bottom-0">
+ </div>
+ {{ .Render "page" }}
+ {{ partial "related.html" . }}
</div>
- {{ .Render "page" }}
- {{ partial "related.html" . }}
</div>
- </div>
- <div class="order-0 w-20 dn db-l">
- {{ partial "nav-links-docs.html" . }}
- </div>
+ <div class="order-0 w-20 dn db-l">
+ {{ partial "nav-links-docs.html" . }}
+ </div>
- </div>
-</article>
+ </div>
+ </article>
-<div class="w-100 bg-light-gray">
- <div class="mw7 pa4 center nested-lh-copy lh-copy">
- {{ partial "docs/page-meta-data.html" . }}
- {{ partial "page-edit.html" . }}
- {{ partial "tags.html" . }}
+ <div class="w-100 bg-light-gray">
+ <div class="mw7 pa4 center nested-lh-copy lh-copy">
+ {{ partial "docs/page-meta-data.html" . }}
+ {{ partial "page-edit.html" . }}
+ {{ partial "tags.html" . }}
+ </div>
</div>
-</div>
-{{ end }} \ No newline at end of file
+{{ end }}
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 2cedc384a..fe9f4d2aa 100644
--- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html
+++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html
@@ -6,7 +6,7 @@
gtag('js', new Date());
{{ $site := $.Site.BaseURL | replaceRE "^https?://(www\\.)?([^/]+).*" "$2" }}
- gtag('config', '{{ . }}', {'dimension1': '{{ $site }}', 'dimension2': '{{ getenv "BRANCH" }}'});
+ gtag('config', '{{ . }}', {'anonymize_ip': true, 'dimension1': '{{ $site }}', 'dimension2': '{{ getenv "BRANCH" }}'});
/**
* Function that tracks a click on an outbound link in Analytics.
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/installation.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/installation.html
index 4bea1a54a..a23cae11d 100644
--- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/installation.html
+++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/installation.html
@@ -14,7 +14,7 @@
<div class="h4">
<img src="/images/gopher-hero.svg" alt="Hugo Gopher" class="h4">
</div>
- <p class="f6 mid-gray m0 p0 pt3">Mac OS</p>
+ <p class="f6 mid-gray m0 p0 pt3">macOS</p>
<div class="code f6 bg-black light-green lh-copy pv3 ph3 br2 w-100 w-50-ns center mb2 tl">
$ brew install hugo <br />
</div>
@@ -35,5 +35,4 @@
<!-- TODO: Animate the gopher https://github.com/rdwatters/hugo-docs-concept/issues/3#issuecomment-287194777 -->
-
</div>
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 f9f5ec588..a808655a6 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
@@ -1,4 +1,4 @@
-{{$classes_box := "ba b--light-gray bg-light-gray br3 flex flex-column flex-wrap items-center justify-center ph3 pv4 mb4 w-100 w-30-l "}}
+{{$classes_box := "ba b--dark-gray bg-light-gray br3 flex flex-column flex-wrap items-center justify-center ph3 pv4 mb4 w-100 w-30-l "}}
{{$gtag := .gtag | default "unknown" }}
{{ with .cx.Site.Data.sponsors }}
<section class="{{ $.classes_section | default "bg-primary-color-dark b--dark-gray bb bt ph5 pv4 w-100"}}">
@@ -8,7 +8,7 @@
{{ range .banners }}
{{ $banner := . }}
{{if .logo}}
- <div class="{{$classes_box}} o-100">
+ <div class="{{$classes_box}} o-100"{{ with .bgcolor }} style="background-color: {{ . }};"{{ end}}>
{{with .link -}}
{{ $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") }}
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/list.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/list.html
index b0083fc0f..bff52ad8d 100644
--- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/list.html
+++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/showcase/list.html
@@ -17,7 +17,7 @@
{{/* pagination.html: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/template_embedded.go#L117 */}}
{{ template "_internal/pagination.html" . }}
</div>
- <div class="dib f3 mt4">The Showcase articles are copyright the content authors. Any open source license will be attached.</div>
+ <div class="dib f3 mt4">The Showcase articles are copyrighted by their respective content authors. Any open source license will be attached.</div>
</div>
{{ end }}