Skip to content

Default Template File Structure

darthapo edited this page Apr 9, 2012 · 1 revision

Gumdrop Site Structure

NOTE: The following is based on the default template, the structure is configurable based on your needs.

This is the file structure that is generated when you run gumdrop --create site_root. You can change whatever you'd like under source/, this is just a starting point.

site_root/
   source/
    favicon.ico
    index.html.erb
    theme/
      screen.css.scss
      scripts/
        app.js.coffee
      styles/
        _tools.css.scss
      templates/
        site.template.erb
  Gemfile
  Gumdrop
  config.ru
  Rakefile

When you run gumdrop --build or rake build it will generate an output/ folder.

site_root/
  output/    (** GENERATED CONTENT **)
    index.html
    theme/
      screen.css
      scripts/
        app.js

You'll notice the templates and partials aren't included in the output.

Clone this wiki locally