Misc fixes

Some fixes for the issues I encountered while making my blog static one.