re-design blogs code