【发布时间】:2020-07-23 22:39:23
【问题描述】:
我在样式中添加了index.css,并将其包含在template.conf中:
{
"name": "Wright",
"author": "Squarespace, Inc.",
"layouts": {
"default": {
"name": "Default",
"regions": [
"site"
]
}
},
"stylesheets": [
"index.css"
],
etc...
}
我从文档中看到样式表会被编译成site.css:
stylesheets
List of your stylesheet. Stylesheets will be compiled into site.css following the ordering here.
NOTE: If you add a file named reset.css to the /styles/ folder it will automatically get added to the top of the site.css file. It should not be listed in the "stylesheets" variable in template.conf.
site.css 文件在哪里?从site.region怎么调用?
目前,我无法以这种方式加载自定义 css 文件。
【问题讨论】:
标签: css squarespace