Commit Graph

3 Commits

Author SHA1 Message Date
khalilcodes 1e90dc44b1 display frontmatter fields on page and add seo 2022-04-15 13:56:05 +03:00
khalilcodes 09290d96e8 [site,title,#94]: fix incorrect page titles
Remove next seo from layout and to pages directly.
2022-03-24 13:16:54 +03:00
Rufus Pollock 604708f165 [site/infra,#94][l]: switch from next/mdx to contentlayerfor rendering markdown files.
* Move all markdown into a dedicated `content/` directory
* use contentlayer (https://github.com/contentlayerdev/contentlayer) for loading markdown
* add catch all route pages/[...slug].js to generate all markdown routes using contentlayer to find pages

frontmatter now properly supported

NB: some nice side benefits like removing the hack in _app.js to render markdown template vs the general layout template

TODO: page titles need fixing
2022-03-23 14:37:53 +01:00