EGOPOLY

Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

Go, Blog, Go!

2015-03-13 16:04

This site is published as a simple hierarchy of .txt files converted into mostly static HTML by Markdown. The only dynamic aspect is that header and footer elements are served using Apache server side includes.

I had written a terrible Python script to do this, but I rewrote the whole thing in Go as an exercise in learning that language.

It's a little bit nicer to have it as a Go program, because it's a self-contained binary (except for Markdown.pl, which you need). I put the source up on Github for your amusement.