code for the duncanmapes.com blog which I may or may not actually do