Anomareh/mynt — Issue #2: Self-contained posts
Author: telenieko
Created: 2012-01-31 16:50:08+00:00
State: open

Hi there,

This is "wishlist", dunno how hard would it be to implement it: One of the things I hate most with any site is that assets belonging to one posts can't be kept *with it*.

I mean, if I write a post with some images or files that go with it I am always forced to put them "somewhere else" and link.

How hard would be something like, for example, to have a "self contained post" You'd have:
* A folder named YYYY-MM-DD-My_post_url/
* Inside it there would be a post.md (or index.md) file which is the post itself
* And then all other media related to the post in the same folder.

Calls to get_asset() would first search for assets in the post folder, then on the assets folder.
Site generation would copy used assets to a common media folder and place the post on YYYY-MM-DD-My_post_url.html

That'd be awesome.
Disclaimer: I am not a mynt user but considering it to rewrite my personal site :)

Cheers,
Marc