Static

There is a top-level folder called 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:

<head>
  <link rel='stylesheet' href='/global.css'>
</head>