Added static_url macro to some templates.