Site ported to Hyde
10/30/2011I have ported this site to use Hyde, a static website generator written in Python. I had been actually running a static version of my Django blog for sometime (using wget mirror), but Hyde does a great job of making generating a new site, links and templates very easy.
The developers are hard at work improving Hyde, so some things are in a state of flux right now. I ended up forking the main branch so I could cherry pick a few patches to use with my own site. But it looks like the project will release soon.
Jinja2 was a pleasant change from the Django template language. I know all the arguments, but sometimes it is nice to be able to debug something in a template. That worked out great for this project because I spent a lot of time trying to debug an unfamiliar code base.
html2text was very helpful during the conversion from HTML markup to markdown text files. Also, as a side benefit to using Hyde, I now have pretty code styling in all of my posts without Javascript. Hyde includes plugin extensions for Pygments.
Todo: I have to cleanup and consolidate my CSS, which has been growing for a while.
function woot() {
echo "Pygments is really great. I am a bash code block."
}
And another test:
def hello():
print('I am a python block')