2
Add a new content section
Thomasorus edited this page 2021-05-24 00:53:24 +02:00
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
journalfolder, create a new file and name itindex.md. Inside this file, add a title using the#Markdown character. For example:# Journaland below, put anything you want! - Go into the
srcfolder and edit theconfig.pyfile. The first line should becontent_folder = ['art', 'blog']. Addjournalinside 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.