Ok, the least I can say is that this blog has not been very active. I barely posted 5 articles in 3 years. There are several reasons to it, but I think the main one was an inappropriate setting. I am long time emacs user and I have installed the emacs package easy-hugo and I hope it will help me to write more.
So let’s be honest. I have not been very active on this blog for several reasons. I am a grad student (this takes a lot of time and energy) and I had two time-consuming hobbies (making robots for Eurobot championship and impro). It is safe to say that I had busy weeks and weekends. But even with these constraints, I think I could have beena more prolific writer. It does not take long to make daily small progress that adds up at the end (same advice for reading books). I think my previous workflow was inadequate:
- go to the blog directory and create a new post with hugo - write down what I want to - generate the HTML pages with hugo - sync the folder with scp or rsync
Even if it is not complicated, it requires a few steps to get from the idea to the actual blog. I think it was too cumbersome to use and participated in preventing me from writing.
Last week, I stumbled upon easy-hugo, an emacs package for managing blogs that are run with Hugo. It provides a very slick interface for writing and administrating the blog. Pop open easy hugo, press n to create a new article, p to preview the blog and P for publishing the blog online. It feels like some kind of Magit for blog. There are shortcuts to filter drafts, deploy it on Github on a custom AWS S3… And the package only needs two minutes of setting.
For me, using it perfectly fits Matt Might’s path of least resistance. I have pretty much all the time an instance of Emacs running, hence now on, I am always only a few keystrokes away from working on a draft or from publishing. Only time will tell if it works. Worst case scenario : see you in 3 years !