Skip to content

fix: use front matter date for output path templates#125

Merged
rokuosan merged 2 commits into
mainfrom
hotfix-export-datetime
May 8, 2026
Merged

fix: use front matter date for output path templates#125
rokuosan merged 2 commits into
mainfrom
hotfix-export-datetime

Conversation

@rokuosan
Copy link
Copy Markdown
Owner

@rokuosan rokuosan commented May 8, 2026

Summary

  • use front matter overrides before resolving article output datetime
  • apply the resolved datetime to article paths, image directories, image filenames, and image URLs
  • add regression coverage for page bundle paths and image filename templates

Root cause

The exporter resolved %Y/%m/%d/%H/%M/%S placeholders from the issue-created date before applying front matter overrides, so date in front matter did not affect output paths.

Validation

  • go test ./pkg/core ./pkg/config ./cmd/cli/...

@rokuosan rokuosan self-assigned this May 8, 2026
@rokuosan rokuosan marked this pull request as ready for review May 8, 2026 12:57
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7ed287ed50

ℹ️ 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".

Comment thread pkg/core/filesystem_articles.go
@rokuosan rokuosan merged commit 15cda2f into main May 8, 2026
4 checks passed
@rokuosan rokuosan deleted the hotfix-export-datetime branch May 8, 2026 13:05
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.

1 participant