flightphp.com
This is the repository of the website flightphp.com. The website is built with the program Jekyll.
Contributing
If you would like to make updates or add language translations, just fork
the master
branch and submit a pull request. Do not fork the gh-pages
branch
since that will only contain the compiled html from Jekyll.
Translations
If you would like to translate the website into another language, follow these steps:
-
Create a new folder at the root level with the proper ISO 639-1 code as the name. There should be an existing
en
folder for English. -
Copy the contents of the
en
folder to your new folder. For example fromen
intofr
. -
In each of the
.html
files, there is alang
setting at the top. Change the value to your language code.layout: default lang: fr
-
Create a new folder in the
_includes
folder with your language code. There should be an existing_includes/en
folder for English. -
Copy the contents of the
_includes/en
folder into your new folder. For example from_includes/en
into_includes/fr
. -
Translate all the
.md
files. These files use the GitHub Flavored Markdown syntax. -
Run the website through Jekyll,
jekyll serve --watch
. -
Change the url to your language,
http://localhost:4000/fr/
.