Skip to content

Commit a467948

Browse files
committed
Chore: upgrade to docsy 12; package site as a go module
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent d5a7b90 commit a467948

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
module github.com/google/docsy-example
1+
module github.com/layer5io/docs
22

3-
go 1.12
3+
go 1.23
44

55
require (
6-
github.com/google/docsy v0.10.0 // indirect
6+
github.com/google/docsy v0.12.0 // indirect
77
github.com/google/docsy/dependencies v0.7.2 // indirect
88
)

go.sum

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
2-
github.com/FortAwesome/Font-Awesome v0.0.0-20240108205627-a1232e345536/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
3-
github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
4-
github.com/google/docsy v0.9.1 h1:+jqges1YCd+yHeuZ1BUvD8V8mEGVtPxULg5j/vaJ984=
5-
github.com/google/docsy v0.9.1/go.mod h1:saOqKEUOn07Bc0orM/JdIF3VkOanHta9LU5Y53bwN2U=
6-
github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg=
7-
github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc=
2+
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
3+
github.com/google/docsy v0.12.0 h1:CddZKL39YyJzawr8GTVaakvcUTCJRAAYdz7W0qfZ2P4=
4+
github.com/google/docsy v0.12.0/go.mod h1:1bioDqA493neyFesaTvQ9reV0V2vYy+xUAnlnz7+miM=
85
github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI=
96
github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4=
10-
github.com/twbs/bootstrap v5.2.3+incompatible h1:lOmsJx587qfF7/gE7Vv4FxEofegyJlEACeVV+Mt7cgc=
117
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
12-
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
8+
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

layouts/partials/head.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{{ .Site.Title -}}
2929
{{ end -}}
3030
</title>
31-
<meta name="description" content="{{ template "partials/page-description.html" . }}">
31+
<meta name="description" content="{{ template "_partials/page-description.html" . }}">
3232
{{ template "_internal/opengraph.html" . -}}
3333
{{ template "_internal/schema.html" . -}}
3434
{{ template "_internal/twitter_cards.html" . -}}
@@ -52,7 +52,8 @@
5252

5353
{{ partial "hooks/head-end.html" . -}}
5454

55-
{{/* To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled */ -}}
55+
{{/*
56+
To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled
5657
{{ if hugo.IsProduction -}}
5758
{{ $enableGtagForUniversalAnalytics := not .Site.Params.disableGtagForUniversalAnalytics -}}
5859
{{ if (or $enableGtagForUniversalAnalytics (hasPrefix .Site.GoogleAnalytics "G-")) -}}
@@ -61,6 +62,9 @@
6162
{{ template "_internal/google_analytics.html" . -}}
6263
{{ end -}}
6364
{{ end -}}
65+
*/ -}}
66+
67+
6468

6569
{{ define "algolia/head" -}}
6670

0 commit comments

Comments
 (0)