Project structure

public, locales, pages, theme are main directories of the project:

├── public
├── locales
├── pages
├── theme
└── config.js

Project directories

public

Serves static content for the website (CSS, JavaScript, favicon, robots.txt and etc.). The content of the folder will be copied into the content directory when generating static content.

locales

locales folder holds translation .json files that contain i18n strings for multilanguage projects.

locales
├── de
│   ├── about.json
│   └── news.json
├── en
│   ├── about.json
│   ├── header.json
│   └── news.json
└── ru
    ├── about
    │   └── team.json
    ├── about.json
    ├── documentation
    │   ├── getting-started
    │   │   └── configuration.json
    │   └── i18n
    │       └── index.json
    ├── header.json
    ├── index.json
    └── news.json
Learn more

pages

Actual content of the website pages goes here and the structure reflects the path to the page with index files points to the actual directory.

pages
├── about
│   └── team.md
├── about.md
├── documentation
│   ├── getting-started
│   │   ├── configuration.md
│   │   ├── index.md
│   │   └── structure.md
│   └── i18n
│       ├── index.md
│       └── markdown.md
├── index.ejs
└── news.md
Learn more

theme

Theme of the project, main folders are layouts where actual website layouts reside, js which uses browserify to import JavaScript modules and less folder which holds website less files which are compiled into the public/css folder:

theme
├── layouts
│   ├── partials
│   │   ├── footer.ejs
│   │   └── header.ejs
│   ├── default.ejs
│   └── home.ejs
├── less
│   ├── _fonts.less
│   ├── _footer.less
│   ├── _grid.less
│   ├── index.less
│   └── main.less
└── js
    ├── _languageSelector.js
    ├── _footerModule.js
    └── main.js
Learn more