maxcell / prince.dev

MIT License
3 stars 4 forks source link

Reorganize blog posts #1

Closed maxcell closed 4 years ago

maxcell commented 5 years ago

I have stuck with the structure for a very long time of putting everything in the same folder and just using timestamps to maintain the structure but it is a significant amount of work that truly can be distracting and also makes it hard to understand the "source" of truth when it comes down to the publishing time.

I think instead of structuring the files as such:

.
|___posts
   |___pages
      |____2019-09-10-title.md

It will be more like

.
|____content/
   |___title-1/
      |___index.md
      |___images/
         |___someimage.png
   |___title-2

This will require a few phases of iteration.

maxcell commented 5 years ago

This was an excellent blog post for reorganizing https://www.jerriepelser.com/blog/sorting-out-gatsby-folder-structure/