Our Github pages allows for the easy creation of blog posts by members of 42AI.
In short : Fork it, branch it, build it. Name it, save it, commit. Push it!
git clone git@github.com:42-AI/42-ai.github.io.git
cd 42-ai.github.io
NB : Please name your branch
blog-<your_42_login>Ex:blog-jbondri
git checkout <your_new_branch>
On your branch :
-
Create a new file in the
_posts/folder -
Rename it following this convention :
YYYY-MM-DD-blog-<your_42_login>.md
Where YYYY stands for the year, MM for the month, DD for the day of the post.
-
Copy the content of the file
_posts/__POST_TEMPLATE__into your new file -
Follow the guidelines and make the necessary changes to your file's metadata.
-
Write your article using Markdown syntax.
-
Save, commit and push your file to your branch.
-
Wait for Pull Request to be reviewed.
Let everyone know about your post by sharing it on social media using the links on the article
