the-mvm / the-mvm.github.io

The Minimum Viable Model website and Jekyll theme.
https://the-mvm.github.io
GNU General Public License v3.0
86 stars 398 forks source link

organizing images for post #18

Closed k-kipruto closed 3 years ago

k-kipruto commented 3 years ago

looks like /assets/img/posts will look like a mess when you have a dozen blog posts, What I did was to organize was to create folder for each post with name as *.md. Then for front matter just edit to img: posts/{yyyy/mm/dd}filename/ I know I should have been creating pull request but my code in fork is quite messy. will do so in for future fixes.

amaynez commented 3 years ago

I agree, all the images in a single directory can become quite messy, I started to name them according to the post, but I think your solution is much better. I will try to retrofit it.

amaynez commented 3 years ago

Done, I took your suggestion but left YYYYMMDD without the intermediate backslashes so not to have too many subdirectories. See commit here