1
0
Fork 0
freesewing/markdown/dev/editors/howtos/blogpost/add-frontmatter/en.md
Joost De Cock b34a2ee2ed feat: Flat import of markdown repo
This is a flat (without history) import of (some of) the content
from our markdown module.

We've imported this without history because the repo contains our
blog posts and showcases posts content prior to porting them to strapi.

Since this contains many images, it would balloon the size of this repo
to import the full history.

Instead, please refer to the history of the (archived) markdown repo
at: https://github.com/freesewing/markdown
2021-08-25 16:09:31 +02:00

1 KiB

title order
Add the frontmatter 40

Frontmatter is metadata that we add to the top of the file. Please refere to working with frontmatter if you're not sure how to use it.

The following fields need to be filled in:

Name Description
date Must be in format YYYY-MM-DD
title Title of the blog post
linktitle If the title is very long, you can specify an alternative title for use in menus, breadcrumbs, and so on. This field is optional.
img Filename of the main image. Must be placed in the folder of the showcase
caption The caption that will go below the image
author FreeSewing username of the author

Below is an example:

---
date: 2020-09-09
title: FreeSewing 2.9 brings our Teagan T-shirt pattern
linktitle: "Our latest pattern is Teagan, a fitted T-shirt"
img: teagan2.jpg
caption: "Photo by Alex Andrews from Pexels"
author: joost
---

Add the frontmatter to the top of the en.md file.