masukomi / masukomi/JekyllMail
date metadata is ignored
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 124
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
If you specify a date in the subject's metadata 2 problems will arise
1. two dates will show up in the YAML Frontmatter (the date the post was received and later the date specified in the subject)
2. image files are saved in a date folder corresponding to the date of the post not the date specified in the metadata
_Solutions:_
Once the post is deemed to not be spam look for a specified date. If it is found, parse it into a DateTime object so that we can use it for the image folder. Add an unless around the auto-generated date key for the YAML frontmatter that skips it if the user has specified one.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Trace the post-processing path after spam detection, then inspect how the metadata date, YAML frontmatter date, and image date folder are derived; done means a specified date controls the image folder and prevents a duplicate generated frontmatter date.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jekyll, ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100