Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/hugo_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@d1c81a15d4e6dca7086a17b9c2565cb70fd576bf # v3
with:
hugo-version: "0.170.1"
hugo-version: "0.171.0"
extended: true

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hugo_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@d1c81a15d4e6dca7086a17b9c2565cb70fd576bf # v3
with:
hugo-version: "0.170.1"
hugo-version: "0.171.0"
extended: true

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ docker run --rm \
-e HOME=/tmp \
-v "$(pwd)":/project \
--entrypoint sh \
ghcr.io/gohugoio/hugo:v0.170.1 \
ghcr.io/gohugoio/hugo:v0.171.0 \
-c "npm install && npm run dev -- --bind 0.0.0.0 -p 8080 -F"
```

Expand Down
7 changes: 6 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
baseURL = 'https://cloudnative-pg.io'
languageCode = 'en-us'
locale = 'en-us'
title = 'CloudNativePG - PostgreSQL Operator for Kubernetes'
staticDir = ['assets']

Expand All @@ -20,3 +20,8 @@ staticDir = ['assets']
[taxonomies]
author = 'authors'
tag = 'tags'

# Hugo 0.171 enables the embedded link hook by default. It resolves our
# absolute /documentation/... links to static dirs and fails to publish them.
[markup.goldmark.renderHooks.link]
useEmbedded = "never"
2 changes: 1 addition & 1 deletion layouts/home.rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo</generator>
<language>{{ site.LanguageCode }}</language>{{ with $authorEmail }}
<language>{{ site.Language.Locale }}</language>{{ with $authorEmail }}
<managingEditor>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }}
<webMaster>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }}
<copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }}
Expand Down