Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series

$

49

.99

$

34

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Frontmatter And Formatting

Downloads

Become a pro to download code and videos

Comments

Massimo

about 2 years ago

@Klaus Pedersen Same here, can't use slug:

{ "error": { "errors": [ { "message": "Cannot query field slug on type BlogPost.", "stringified": "Cannot query field slug on type BlogPost.\n\nGraphQL request:10:9\n 9 | date(format: Do MMM YYYY)\n10 | slug\n | ^\n11 | }" } ] } }

Klaus Pedersen

over 2 years ago

Somehow i cant query for slug i got path instead but its behaving diffrent

Arthur

almost 3 years ago

Hi, the tags don't work for me either. Are there certain properties you can and can't throw in the frontmatter?

Jackie

about 3 years ago

The tags and image frontmatter don't work for me. I get a "Cannot query field "tags" on type "BlogPost" error even when I restart the server. It seems like I can only use the default fields.

I think it might have something to do with the newer version of source-filesystem and transformer-remark I have?

Want to join the conversation?

Become a Pro member today!