miguelpduarte / personal-website

My personal website
2 stars 0 forks source link

Modularize markdown file types #72

Open miguelpduarte opened 4 years ago

miguelpduarte commented 4 years ago

Instead of cv_section: something and blogpost: true, should use something like type: cv|blogpost|etc in order to filter for the markdown file data's type (where to put the data).

However, I think this will break the querying due to the schema updates that gatsby is not too fond of, so this is not a priority right now.

miguelpduarte commented 4 years ago

Apparently several gatsby-source-filesystem sources can be created (and possibly queried by name?) https://www.gatsbyjs.com/plugins/gatsby-remark-relative-images/?=gatsby-remark