modularize layout to be reused in blog