How do you personally handle Drafts, Images, Files, etc., in terms of workﬂow?

I’m thinking of the following:

• /Drafts (initiate all writing here prior to sliding into /Posts or /Pages for publication)
• /Files (other than images)
• /Images (all images and graphics)
• /Pages
• /Posts
• /Templates

Do you personally underscore Folders or individual ﬁles?

6 replies Asked Jun 7 '21 at 19:39 · Improve this question

My preferred folder structure looks something like this:

My blog
├─ 2021
│  ├─ 02-06 Pears
│  │  ├─ post.txt
│  │  ├─ _image.jpg
│  ├─ 03-08 Apples
│  │  ├─ post.txt
│  │  ├─ _image.jpg
│  ├─ 04-21 Bananas
│  │  ├─ post.txt
│  │  ├─ _image.jpg
├─ 2020
├─ 2019
├─ Drafts

The beneﬁts of this structure are:

• Each post is in its self-contained folder (all images in it are adjacent to the source ﬁle) instead of one messy global folder of images. This means I can embed the image in all the post.txt ﬁles using the following Markdown with a relative path: ![Caption](_image.jpg)
• Each post is automatically correctly dated based on its path (e.g. 2021/02-06 Pears/post.txt)

I don’t like editing templates locally so I don’t have a Templates folder. As for drafts: I don’t use them myself anymore — I’m happy to just edit my site live. If I was working on a site on which this wasn’t possible then I would stick the post subfolder inside the Drafts folder, and move it outside when ready to publish (the relative paths will mean that any images won’t break!).

Is there a way to generate this structure automatically using Obsidian?

I’m not sure! It might be worth making a post in Obsidian’s forum

When I embed the images in my post, it works! (I put the images in a self-contained folder with the post)

But, now the images are also individual posts on my Blot. :(