diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 5a565ab..611da07 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -25,7 +25,9 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.128.0 + # Keep in sync with HUGO_VERSION in netlify.toml so that deploy previews + # and production are built by the same Hugo. + HUGO_VERSION: 0.152.2 steps: - name: Install Hugo CLI run: | diff --git a/layouts/community/list.html b/layouts/community/list.html index 4c6e11a..b25a871 100644 --- a/layouts/community/list.html +++ b/layouts/community/list.html @@ -18,11 +18,12 @@

{{ .Title | markdownify
{{ range .Pages }} -
- -
+ diff --git a/netlify.toml b/netlify.toml index 8f3bb59..b4dc968 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,6 +2,8 @@ publish = 'public' command = 'hugo --gc --minify --buildFuture && npm_config_yes=true npx pagefind --site "public"' +# Keep in sync with HUGO_VERSION in .github/workflows/hugo.yml, which builds +# the production site. [build.environment] HUGO_VERSION = "0.152.2"