Skip to content

Configuration file

Dan Burzo edited this page Jun 16, 2018 · 2 revisions

A Marcel site is configured through the marcel.config.js in the root of your project.

// marcel.config.js — a minimal example
module.exports = {
  base: 'https://danburzo.github.io/marcel'
};

Available options

Website options

Option Default Description
base / The base URL for your website, e.g. https://danburzo.github.io/marcel.

Folders

Option Default Description
contentDir content
staticDir static
templatesDir templates
distDir dist
dataDir data
Clone this wiki locally