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
enfolder for English. -
Copy the contents of the
enfolder to your new folder. For example fromenintofr. -
In each of the
.htmlfiles, there is alangsetting at the top. Change the value to your language code.layout: default lang: fr
-
Create a new folder in the
_includesfolder with your language code. There should be an existing_includes/enfolder for English. -
Copy the contents of the
_includes/enfolder into your new folder. For example from_includes/eninto_includes/fr. -
Translate all the
.mdfiles. 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/.