A collection is like a folder that contains a group of pages. A page is like a file in your Github repository.
Step 1 Create a file, which will represent a page on your site.
Step 2 Specify the folder name
Step 3 Add a forward slash to fix the folder name and set a file name.
A file name usually corresponds to your page name for easy reference.
Step 4 Specify the title and permalink of the page
You should enclose the title and permalink inside three dashes
Permalink should not have any spaces in between.
If you're creating a page inside a collection, you should specify in the permalink that the page is inside the folder. For example, for a page named
My page inside a folder called
My New Folder, the permalink will look like this
---title: New Pagepermalink: /my-new-folder/my-page/---
Step 5 Scroll to the bottom and click commit at the bottom of the page to save the file.