refactored blog's contents folder to distinguish between posts and pages