Adding Blogs
-
Navigate to the
_posts
directory -
On the top right corner: Add file -> create new file
Note The naming convention of these .md files is important, and must follow the format: ‘
YEAR-MONTH-DAY-title.MARKUP
’. The permalinks can be customized for each post, but the date and markup language are determined solely by the file name. -
Update the title, layout and author of the file
-
Your new blog should now show up on the website after you push and deploy your changes!
Highlighting Blogs
To highlight a blog, add this section to the top of the post.
-
You need to have
showcase: 1
, this will signifiy that you wan the blog highlighted. -
You need to add the
card
section. This section is exactly like a project card except for the last two variables. Refer to Add Projects -
intro:
This is what is going to be displayed on the blog card. Write a short introduction to the blog here. -
url:
The url should be the date followed by the file name in the following format:YYYY/MM/DD/File_name
After adding this to a blog post, it should appear like the following on the webpage: