mega-refactoring to port the blog to the new restatic generator