About the website
This site is built with Lektor.
It has a bunch of dependencies, so do
npm install and then
npm run build.
grunt will watch for changes to your SCSS files, and also icons (see svgstore).
Since this is an organization Github page, the deploy has to be done on the master branch; therefore, all the edits have to be done on the source branch. To do so, after cloning the repo with
git clone, enter the folder and run
git checkout source.
In order to add a translation to the site, we need to:
- add the language to
- add the new language to
- add translations to
Then, to translate the content we can:
- manually duplicate each
contents.lrfile in the
content/folder (and its subfolders) and save it with the language code in the file name (like
- use the
admininterface when running the site locally, e.g. by running
lektor serverand opening
localhost:5000/adminon a browser.
WARNING: since this is an organization Github page, this command will deploy on the master branch. (See the Editing section for details).
lektor deploy will deploy to the master branch, putting changes live, if you have deploy permissions.