如何将Google web字体css添加到Grails资源中

如何将Google web字体css添加到Grails资源中,grails,fonts,resources,grails-resources-plugin,Grails,Fonts,Resources,Grails Resources Plugin,使用资源插件向grails应用程序添加Google web字体css依赖项的正确方法是什么 出于某种原因,grails资源插件似乎想要删除查询字符串 modules = { mainLayout { dependsOn 'bootstrap-css,bootstrap-responsive-css,bootstrap-dropdown' resource url: 'css/main.css' resource url: 'http://f

使用资源插件向grails应用程序添加Google web字体css依赖项的正确方法是什么

出于某种原因,grails资源插件似乎想要删除查询字符串

modules = {
    mainLayout {
        dependsOn 'bootstrap-css,bootstrap-responsive-css,bootstrap-dropdown'
        resource url: 'css/main.css'
        resource url: 'http://fonts.googleapis.com/css?family=Snowburst One', attrs: [type: "css"]
    }
}

HTML有以下内容:在主布局文件中包含指向web字体a pi的链接:

<link href='http://fonts.googleapis.com/css?family=.../>