Docs / Building Your Site / Package Structure
Back to FastMode

Package Structure

Website Package Structure

Understand how to organize your website files for Fast Mode.

Required Files

website-package/
├── manifest.json      # Site configuration (REQUIRED)
└── pages/
    └── index.html     # At least one page (REQUIRED)

Complete Structure

website-package/
├── manifest.json      # Site configuration
├── pages/             # Static HTML pages
│   ├── index.html     # Homepage
│   ├── about.html
│   ├── services.html
│   └── contact.html
├── templates/         # CMS templates
│   ├── blog_index.html    # Blog listing
│   ├── blog_detail.html   # Single post
│   ├── team_index.html    # Team listing
│   └── team_detail.html   # Team member page
└── public/            # Static assets
    ├── css/
    │   └── style.css
    ├── js/
    │   └── main.js
    ├── images/
    │   └── logo.png
    └── fonts/

Folder Descriptions

pages/

Contains static HTML pages. Each file becomes a page in your CMS with a URL based on the filename.

templates/

Contains CMS templates that render dynamic content. Templates use special tokens like Package Structure to display collection data.

public/

Contains static assets (CSS, JavaScript, images, fonts). These are served at /public/... URLs.

Asset Paths

All asset references must use the /public/ prefix:

<link rel="stylesheet" href="/public/css/style.css">
<script src="/public/js/main.js"></script>
<img src="/public/images/logo.png" alt="Logo">
Built in Fast Mode