Remove blog-specific code; be a library instead