robinmetral / brut

brut as in béton brut (early alpha, probably don't use it)
https://brut.pages.dev/
5 stars 0 forks source link

Build pages recursively from Markdown or HTML #8

Closed robinmetral closed 2 years ago

robinmetral commented 2 years ago

This comes with a major shift in the way brut builds sites.

Instead of looking for markdown posts in a /posts directory and HTML pages in a /pages directory, it traverses the tree (using klaw) and builds all Markdown and HTML files, irrespectively of their location or format. If a file is in Markdown, it is processed to HTML before being processed exactly like other HTML files.

This has a few benefits:

cloudflare-pages[bot] commented 2 years ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6c68893
Status: ✅  Deploy successful!
Preview URL: https://5263ac8f.brut.pages.dev

View logs