Skip to content

Build production with the same Hugo version as deploy previews - #186

Open
bendichter wants to merge 5 commits into
mainfrom
align-hugo-version
Open

bendichter wants to merge 5 commits into
mainfrom
align-hugo-version

Conversation

@bendichter

Copy link
Copy Markdown
Contributor

The GitHub Pages workflow builds with Hugo 0.128.0 and Netlify deploy previews build with 0.152.2, so a preview can differ from what gets deployed. This moves the workflow to 0.152.2 and adds a comment in each file pointing at the other.

I built main with both versions and compared all 166 HTML pages. Apart from whitespace and minifier output that renders the same, the differences are:

  • On /community/, .Summary returns HTML in the newer Hugo, which put lists and nested paragraphs inside each card. The template now passes it through plainify, so the cards stay plain text. One card ends a sentence later than before.
  • Two headings on the 2024 BCM workshop page get new anchor IDs, because the newer Hugo leaves the link URL out of the ID.
  • RSS item descriptions carry HTML summaries instead of plain text.
  • Alias pages no longer include <meta name=robots content="noindex">.

🤖 Generated with Claude Code

bendichter and others added 2 commits October 9, 2026 12:51
Production was built with Hugo 0.128.0 and Netlify deploy previews with 0.152.2, so a preview could differ from what was deployed. Both now use 0.152.2.

Since Hugo 0.134 .Summary returns HTML, which put block markup inside the paragraph of each card on /community/. That template now passes it through plainify so the cards stay plain text.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Each card on /community/ is a link to its page, but nothing showed that. The cards now end with a "Learn More" cue in the site's link color and lift their shadow on hover, using the same classes as the cards on the home page. They also take half the row each on desktop instead of a third, which leaves less empty space with two cards.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nwborg ready!

Name Link
🔨 Latest commit c4e925c
🔍 Latest deploy log https://app.netlify.com/projects/nwborg/deploys/6ac93bbdf6bb2a00080fbff9
😎 Deploy Preview https://deploy-preview-186--nwborg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

oruebel
oruebel previously approved these changes Oct 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants