Personal websites are great and I’ve been trying to put more content on my own personal website (I made nine decent-size posts this month, and I’m happy with that). HOWEVER, Running a personal website is a time sink and it can become a real pain as time goes on. It’s not a problem to create a personal website and shove a few HTML files on there, or set up a Wordpress installation, or create something with Jekyll. Tha…
After moving my blog to Hugo and a custom CI/CD pipeline for it (that is in serious need of refactoring, but it works), writing and publishing new blog posts with SEO is very, very easy. Writing the damn thing is the hardest part of publishing now. All I have to do is commit and push, and now that CloudFront updates your local POP super quickly, new articles usually appear within minutes. I used to host my blog on Wo…
I’ve thought about Hugo but it might require a serious migration effort. My current website is written in Go templates so I can do something like:
{{.SrcFile "_src.c"}}
And it will read _src.c and set it up to be highlighted using C syntax rules. Leading underscore just means that the file doesn’t get deployed. This is just one example, there are a number of different things I’ve added to my website like this over the years.Things would be different if I had chosen a static website generator from the start rather than letting things evolve naturally from hand-written HTML files. Currently, what I want to do is get rid of the templating and use DOM manipulation, so I’d write the above like
Just because it would make editing the files more convenient. Putting something like C source code directly in an HTML file is too much of a bother, and I put a lot of source code in my website, so anything I can do to save time here means I can write more articles. Markdown makes it easier to embed source code but it’s just not good enough to replace HTML for my use case.