Working With Fractal

Templating: Fractal and Nunjucks

We use Fractal to document our components (this is what you are currently viewing) and Nunjucks (a javascript templating engine) to build our templates

These files are located in fractal

The layout is split into:

  • Components (located in fractal/components) - The lego bricks of your website
  • Pages (located in fractal/pages) - Compose your components into a page layout

When adding any Nunjucks files to the above folders it will automatically be included in the left hand menu