Commit Graph

7 Commits

Author SHA1 Message Date
khalilcodes 2924b5e858 [site/seo]: fix conflicts and merge latest changes 2022-05-13 20:55:22 +03:00
khalilcodes c4321f3009 [site/pages][s]: move seo component and logic to MDX component 2022-05-13 02:35:22 +03:00
olayway eb16e1ba4b [site/MDX,slug][m]: added 'Edit this page' option 2022-05-12 12:05:35 +02:00
khalilcodes 55811517a6 fix pages without frontmatter showing invalid date 2022-04-22 19:04:44 +03:00
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