Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 707 Bytes

2019-10-15-creating-posts-and-pages.en.md

File metadata and controls

22 lines (15 loc) · 707 Bytes
title date description category background image
Creating posts and pages
2019-10-15 07:41:34
See how is super easy to add new posts and pages in this project
Gatsby
#7d4cdb
/assets/img/06.jpg

Adding new content

All you need to do is creating new markdown files.

Blogposts are defined in blog directory and pages are defined in page directory.

Understanding the slug

The file names are the slug of the posts and pages. Use file-name.md for the default language and any other language needs to be defined in the format name-with-dashes.lang.md.

Displaying the new content

Posts are added automatically to the blog list and pages need to be linked in the menu.