This repo is the CMS for lembot static pages:
- /terms
- /privacy
- /whats-new
- /blog & posts
Like me, you probably focus all your effort in building a 100% custom index.ts
home page to make it as salesy as possible.
What for all other pages? You know, those pages where only the content really matters?
For those pages, I wanted an easy way to generate them, edit them, write new ones, etc.
Using markdown and github sounds the best option for me because:
- I β€οΈ markdown: super simple to write and the result (headers, paragraphs, links) is 100% predictible
- I β€οΈ git: versioning comes for free
- I β€οΈ writing markdown on Github: the editor is smart π§ , has a preview mode ποΈ, provides drag-n-drop free images hosting π, etc.
I decided to release a library that enables us to generate static pages from markdown files with 0 effort, 0 boilerplate, and most importantly: dynamic routes, like nextjs does with pages/
It's ready, it's called next-markdown
π https://github.com/frouo/next-markdown
Give it a try, drop a star β
I am waiting for your feedback π
I am building this in public. Follow me or next-markdown on Twitter if you are interested.