-
Notifications
You must be signed in to change notification settings - Fork 23
Add a new content section
Thomasorus edited this page May 23, 2021
·
2 revisions
You can add as many sections as you want. Let's say for the example that you want a new journal section in your Chīsai website. It's a three steps process that requires you to only edit files or create new files, simple!
Please follow these steps:
- Add a new folder at the root of your website and in our example, name it
journal
- In your new
journal
folder, create a new file and name itindex.md
. Inside this file, add a title using the#
Markdown character. For example:# Journal
and below, put anything you want! - Go into the
src
folder and edit theconfig.py
file. The first line should becontent_folder = ['art', 'blog']
. Addjournal
inside the square bracket. It should look like this:content_folder = ['art', 'blog', 'journal']
And you are done! Please note that if you don't want the section, you can just delete the folder and remove it from the config.py
file.
Now all you have to do is create content inside the journal
folder. If you are not sure how to do it, please start with this first step.