-
Notifications
You must be signed in to change notification settings - Fork 22
How to add pages in a section ?
Thomasorus edited this page Jun 6, 2021
·
4 revisions
Adding new content to your website is simple: you simply create a new file in the folder your want!
- On github, go into the folder you want to write in (example:
blog
). - Click on
add file
on the upper right corner. - You now have to name the file and have three options:
-
Use a simple date with
.md
at the end. For example:24-02-2021.md
. With this naming scheme, the URL will be the date and the listing will use it to order files. -
Use a date followed by a text, and
.md
at the end. For example:24-02-2021-my-super-page.md
. With this naming scheme, the URL will be the text, and the listing will use the date you choose to order files. -
Use a simple text, and
.md
at the end. For example:my-super-page.md
. With this naming scheme, the URL will be the text, and the listing will use the date of the last time you saved the file (Update: Currently a bug happens during compilation that set all these dates to the build date. It will be fixed soon)
-
Use a simple date with
- Create a title for your file using the
#
markdown character. Example:# This is my title
. - Write whatever you want. 6 Save.
The new file will trigger the reconstruction of the website and under a few minutes, the new page will be online. The RSS file available through the /feed.xml
url will also be updated.
Now maybe you're not very happy about just using text? Maybe you want some images?