Update AI.md with current Hugo and content maintenance workflows - #19
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 94c817deb1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - Production build: `hugo --minify --buildFuture` (matches the deployment workflow) | ||
| - Create new post: `hugo new content/posts/my-post-name.md` | ||
| - Create new project: `hugo new content/projects/project-name.md` | ||
| - Create a post on a feature branch for PR review: `./scripts/create-post-pr.sh "Post Title"` |
There was a problem hiding this comment.
Avoid recommending post script that uses local timezone date
This new command recommends ./scripts/create-post-pr.sh, but that script derives CURRENT_DATE from plain date (scripts/create-post-pr.sh:16), which uses the caller's local timezone rather than Australia/Sydney. In timezones like US/EU, running it near day boundaries can create posts with a one-day-shifted filename/front matter date, which then affects chronological ordering and draft/future checks; the guide should either call out the timezone caveat or require a Sydney timezone when invoking the script.
Useful? React with 👍 / 👎.
94c817d to
cdd2486
Compare
Summary
Testing