Refactor blog build