Changes layout to use templates helper to load local assets.