implements applyMacros on news and page content

fix #290