Commit Graph

4 Commits

Author SHA1 Message Date
khalilcodes a9b303d029 [site/config]: add keywords field and move date logic to contentlayer 2022-06-01 17:57:57 +03:00
khalilcodes e4019fba59 frontmatter setup 2022-04-15 13:52:13 +03:00
khalilcodes c9c4c00c2b add remark and rehype plugins 2022-04-07 03:04:49 +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