# Copy is a simple, Sinatra-based CMS (Copy Management System). `$ gem install copy` and then generate a new site `$ copy -n mynewsite` mynewsite/ ├── Gemfile <- Uncomment the gems you need for storage. ├── config.ru <- Configure storage, user, and password here. ├── public <- The public root of your new site. │ ├── favicon.ico <- A blank favicon, replace with your own. │ ├── images │ ├── javascripts │ │ └── main.js <- A good place for your basic scripts. │ ├── robots.txt <- Read file for details. │ └── stylesheets │ └── main.css <- Toss some CSS styles in here. └── views <- Your views, layouts, and partials live here. ├── index.html.erb └── layout.html.erb <- Optional global layout file. Copy automatically maps URLs to files in your `views` directory. * `/` → `index.html.erb` * `/about` → `about.html.erb` or `about/index.html.erb` * `/about/us` → `about/us.html.erb` Copy lets you define blocks of editable text in your views. <% copy :contact do %> 1 _Infinite_ Loop Cupertino, CA 95014 408.996.1010 <% end %> The text provided in the block will be saved and can then be edited live on the site. All content is formatted with Markdown. [See demo](http://copy-demo.heroku.com) for a live example or [view the source](https://github.com/javan/copy-demo). Single line blocks will be rendered in a span (by default). Perfect for headlines.