masukomi / masukomi/JekyllMail

date metadata is ignored

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.