开发者

Grails global styling

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.gs开发者_如何转开发p 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?


By default grails will use the "main" layout for scaffolding. So yes, those are the two files you are interested in.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜