amphora-serve-static
v0.0.3
Published
Serve static files from a site's /static directory in amphora
Downloads
308
Keywords
Readme
amphora-serve-static
Serves static files from sites/ [site] /static
npm install amphora-serve-static
- Require the plugin where amphora is instantiated (see: https://github.com/clay/amphora/blob/master/docs/startup/instantiation.md)
- Create a
/static
folder in a site directory. - Put any static files,
robots.txt
, for example - Visit
[yoursite]/robots.txt