This is the repository of the website flightphp.com. It is hosted directly from the repository as a GitHub Pages website. The website built with the program Jekyll.
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.
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/
.