The default Middleman installation consists of a directory structure which looks like this:
Middleman makes use of the
lib directories for
specific purposes. Each of these directories are children of the main Middleman
source directory contains your main website source files to be built,
build directory is where your static website files will be compiled and
Local Data allows you to create YAML or JSON files in a folder called
makes this information available in your templates. The
data folder should be
placed in the root of your project (i.e. in the same folder as your project's
source folder). See the Data Files docs for more information.
lib directory enables you to include external Ruby modules which contain
helpers for building your application. If you use Rails then you will be
familiar with this layout.