DEV Community

Ashish Goyal
Ashish Goyal

Posted on

How to add description to post on this site?

Top comments (3)

Collapse
 
ben profile image
Ben Halpern

description: on the front matter will add the relevant meta tags etc.

Collapse
 
teaglebuilt profile image
dillan teagle • Edited

Im not sure i follow. I added this to a post, it is rendered as is and a description is not returned / populated in the object of the post..how do you fill the description key?

Collapse
 
jaredharbison profile image
JaredHarbison

Hi Dillan - You can add the description directly into the post editor with "---" above and below the description as the key: value you want to appear in the object.

"---"
description: your description here
"---"

Remove the quotations- I added them so they wouldn't turn into page breaks in this comment.