Multi-resolution code in the default template