Static
There is a top-level folder called
<head>
<link rel='stylesheet' href='/global.css'>
</head>
static/
that you can use to store theme related files that you don't want editors to be able to change.It's common to put the following files in this folder:
- global CSS
- site logo
- favicon
- robots.txt
- hosting specific files that need to be shipped with the deployed site (e.g.
.domains
)
Accessing files in Layouts
You can target these files directly off the root of your domain, for example if adding a global stylesheet that is saved as
static/global.css
you can reference it by:<link rel='stylesheet' href='/global.css'>
</head>