Skip to content

Commit e3a1c18

Browse files
committed
update hugo&docsy, fix partials/head.html (was manually modified)
1 parent 4748ce4 commit e3a1c18

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# any changes here in this Dockerfile. (it is not actually a pre-release,
55
# but the tag has to conform to the semver scheme, where only 3 numbers
66
# are allowed)
7-
FROM docker.io/floryn90/hugo:0.145.0-ext-alpine
7+
FROM docker.io/floryn90/hugo:0.150.0-ext-alpine
88
USER root
99
RUN apk add git && \
1010
git config --global --add safe.directory /src

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module github.com/google/docsy-example
33
go 1.12
44

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

layouts/partials/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{{ .Site.Title -}}
2222
{{ end -}}
2323
</title>
24-
<meta name="description" content="{{ template "partials/page-description.html" . }}">
24+
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
2525
{{ template "_internal/opengraph.html" . -}}
2626
{{ template "_internal/schema.html" . -}}
2727
{{ template "_internal/twitter_cards.html" . -}}

0 commit comments

Comments
 (0)