- Create a new markdown file in the
src/posts
directory. It should be named in the formatthe-title-of-the-article.md
. - Add the article metadata at the top of the file.
- Write the article body.
The article metadata is the part of the file that is between the ---
lines. It is YAML formatted.
title
: The title of the article.date
: The date of the article.author
: The author of the article.category
: The category of the article.isPublished
: Whether the article is published.
description
: The description of the article.image
: The image of the article.tags
: The tags of the article.