Posts for: #Static-Site

Using Hugo

I customized a static site generator written in shell script 5 years ago: Minimal Blogging Setup with Orgmode and ssg5. Last year, I reinstalled my operating system. On Monday this week, I tried to build this website and the website would not build. After a whole night of debugging my script, I gave up and decided to migrate to Hugo. Here is what I learned while migrating the site.

I did not want to lose my old posts and I did not have to! It was nice to keep my memories of 3D printing ear savers for nurses during the pandemic.

[Read more]

Minimal Blogging Setup with Orgmode and ssg5

My Old Setup

I prefer orgmode over markdown because already I use orgmode for appointments, reminders, notes, etc. However, most static website generators only support Markdown. Luckily, orgmode has an html export function: M-x org-publish. org-publish is much more powerful and reliable than any markdown converter I have used.

Since 2016, I have been using jekyll which is bloated and requires a lot of ruby dependencies. To make sure my website always built, I setup sourcehut builds to build my jekyll website. Each website build takes 3 minutes on sourcehut.