Skip to content

Build future-dated posts in the local Hugo server - #1448

Merged
kpodemski merged 1 commit into
PrestaShop:masterfrom
marsaldev:chore/hugo-build-future
Sep 28, 2026
Merged

kpodemski merged 1 commit into
PrestaShop:masterfrom
marsaldev:chore/hugo-build-future

Conversation

@marsaldev

Copy link
Copy Markdown
Contributor

Why

Release announcements are often written ahead of time with a future publication date (e.g. the PrestaShop 9.2.0 article dated 2026-09-30). Hugo skips future-dated content by default, so these articles do not appear when previewing the site locally with Docker, which makes it impossible to review them before publication.

What

Add --buildFuture to the hugo server command in docker-compose.yml. This only affects the local development server; the production build is unchanged.

🤖 Generated with Claude Code

Add --buildFuture to the docker-compose Hugo server command so articles
with a publication date in the future (e.g. release announcements
scheduled ahead of time) are rendered when previewing locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@marsaldev
marsaldev requested a review from kpodemski September 28, 2026 13:50
@kpodemski
kpodemski merged commit 0d19e0a into PrestaShop:master Sep 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

3 participants