add layout to news and document views