blog: Refactorings and enhancements