Get it working with Groovy templates

For some reason using templates/layouts doesn't work because
they aren't found