Currently the index page is rendered without any header/footer. I am currently overriding this page in my client Grails app and adding a layout meta tag but I'd prefer not to have to do this, as it could come unstuck in a future version.
My suggestion is to add a meta tag to index.gsp with:
If the client app chooses not to populate the var then it behaves as it currently does, but setting it to the name of their layout file (e.g. main), applies that layout.
Currently the index page is rendered without any header/footer. I am currently overriding this page in my client Grails app and adding a layout meta tag but I'd prefer not to have to do this, as it could come unstuck in a future version.
My suggestion is to add a meta tag to
index.gsp
with:If the client app chooses not to populate the var then it behaves as it currently does, but setting it to the name of their layout file (e.g.
main
), applies that layout.