Please Contribute! There's plenty to do.
git clone git@github.com:nodejs/new.nodejs.org.git
cd new.nodejs.org
npm install
node build.js serve
Note: You'll need io.js 2.x or newer as the build system uses some native ES2015 features.
- Page templates are in
/layouts - Global style are in
/layouts/css - Global static files are in
/static - All content and localization specific styles are in
/locale - Initial development usually happens in english:
/locale/en /locale/{{locale}}/site.jsonis where global localization information lives.- All content is in markdown and is per locale.
- The top of each markdown file is a block of YAML for page specific localization information that is passed to various templates.
- The bulk of the markdown content for each page is references at {{content}} in the corresponding template.