A New Writing System
Most efficient writing system for me
Thought Proces
I thought about getting a dedicated CMS with a fancy text editor that would enable me to really write text easily. But then I thought, how boringly convenient. So I decided to go with a different more pleasing workflow.
My Workflow
I chose to use Git-as-CMS. The workflow goes as follows:
Steps I go through to post
I create a new git branch with the title of my post. After that I
go to content/writing/ and I create a markdown file with the
name of my post. I open the file using
nano and now I can write
my post to my hearts content. Next I push this branch to my remote
repository. Because I am hosting my website on CloudFlare a nice
preview link is generated for me which I visit to check the last
things I would still like to change or add. Changes and additions
happen in nano ofcourse and I
push to the remote branch. When I
am fully content I then submit a pull request. And merge it then
to main. And then the post is finally published.
Parameters
On the top of my markdown file there are parameters that are used
to populate my dedicated post page which follows the route pattern
of /writing/<slug>. I also get to control the published status
if I maybe would like to unpublish it.
Why I chose this workflow
I wanted to feel involved in the full creation process of the writing up until the publishing of my post. This way I control all the knobs and I can easily track all changes and have access to all history without having to use a boat load of libraries and do a bunch of integrations.
Until then, take care. On to the next post. Happy Days.
Wiraash