-
-
Notifications
You must be signed in to change notification settings - Fork 1
Add a new blog post
Arpit Sheth edited this page Jul 30, 2020
·
1 revision
- Create a new folder inside
/content/posts
- Create a new
index.mdx
file - Add images to the post's folder that you want to reference in your blog post
- Add the frontmatter to your post's file.
- Provide a
title
anddate
. The date must be in the formatYYYY-MM-DD
. - (Optional) Provide a very short
description
for your post. If no description is provided, an excerpt of the blog post will be used. - (Optional) List any
tags
that apply to your post - (Optional) Reference an image as your post's
banner
in the frontmatter. This banner image is used as your blog post's social image. If no banner is provided, the default siteImage (from siteMetadata) is used. - (Optional) Add a
slug
to the frontmatter to use a custom slug, e.g.slug: "/my-slug"
- Provide a
- Write your content below the frontmatter
---
title: Introduction to "Defence against the Dark Arts"
date: 2019-11-07
description: Defence Against the Dark Arts (abbreviated as DADA) is a subject taught at Hogwarts School of Witchcraft and Wizardry and Ilvermorny School of Witchcraft and Wizardry.
tags:
- Tutorial
- Dark Arts
banner: ./defence-against-the-dark-arts.jpg
---
Blog post content goes here...