Open helmturner opened 2 years ago
@helmturner Schema Information: 3 main content types - Blog, Event, Project.
type Project
on the feature/project
branch where @duonglamh1999 is working: https://github.com/codefortulsa/website/blob/9d54955e997179e81bdd5be35927ff310b109c60/src/features/projects/components/ProjectCard.tsx#L12
Note: for support questions, please use #ug-code-for-tulsa slack channel in Techlahoma or stackoverflow. This repository's issues are reserved for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
You can put anything you want into the front-matter section of a
.md
or.mdx
file, whether or not it's correct. If the front-matter schema doesn't match what our pipeline expects, you might get unexpected behavior, a silent bug, or an unhelpful error.We're not using front-matter inputs anywhere as of yet, so it can't be reproduced easily.
A helplful and descriptive build error should occur in any of the following events:
Good errors make for better communication between devs and content creators. This also allows us to preprocess when we validate. Finally, the content migrated from the old site causes all sorts of errors stemming from the format of the front-matter, and we would like to know specifically what needs fixing.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
This unblocks #101 , #81 , #2