Blog Workflow

Setting up a blog might seem like a daunting task at first but it shouldn't. It doesn't require a fancy web framework.

The whole point of a blog is to write articles, so writing them should be as easy and painless as possible.

Writing posts

I write my posts in markdown which means I can do so from the comfort of my text editor Neovim.

Deployment

Once you've written up your posts, it's time to put them on your website.

The first step converts the articles written in markdown to html files. I use smu for the job because it's simple.

Once your html files are ready, it's simply a matter of getting your files in the right place.

In my case, I use Caddy as my webserver, with a config file for the blog that looks like this:

blog.jstnas.com {
	root * /srv/www/blog
	encode gzip
	file_server
}

I've written a simple script which does all of the deployment for me.

And that's all that there is to it. You can check out my blog and its source code.