Reputation: 25267
I was wondering how one would apply a global stylesheet to their entire site? I want to add twitter bootstrap, and a select number of other global styles, so that all the visuals are consistent.
Would I add a <link>
to the layouts/main.gsp file?
UPDATE
Seems it's the css/main.css file that I'm interested in. Along with the layouts/main.gsp's reference to it. Could someone confirm this?
Upvotes: 1
Views: 134
Reputation: 24776
By default grails will use the "main" layout for scaffolding. So yes, those are the two files you are interested in.
Upvotes: 1