I was wondering how other people are organising their assets for individual posts when using Jekyll. For example, if a post has an image, do you just dump it in a shared images folder? I don't really like the idea of doing this – it means that an image is completely separated from a post, when I think they should be paired.
Local post assets with Jekyll
jekyll
Best Answer
I wrote a plugin to let me organise assets in subdirectories easily:
https://github.com/samrayner/jekyll-asset-path-plugin
in post 2013-01-01-post-title would output:
in page my-first-page would output: