A basic template for an express server that will serve markdown files from a
/pages
directory wrapped in an HTML layout.
- Clone the repo.
- Modify
views/layout.ejs
to your desire. - Add markdown files to the
/pages
directory. - They will now be available as routes based on their filename
pages/about.md
will be available at/about
- For now, you'll need to add the pages to the navigation in
views/layout.ejs