/static-multilang-example

Example of a multi-language static site built with Metalsmith

Primary LanguageJavaScriptMIT LicenseMIT

Static multi-language site

This is an example of a multi-language static site built with Metalsmith

You can read the companion blog posts explaining how it works (part 1 and part 2)

How to build it

Install dependencies with npm and execute index.js:

npm install
node index.js

It will build the site in a dist folder. In order for internal links to work, you need to run it from a web server:

npm install -g http-server
http-server dist

Enjoy!