Evidence renders markdown files into web pages. When developing, the markdown file
/pages/example.md is rendered at localhost:3000/example.
Evidence instantly reloads pages when their markdown files are edited and saved.
File Based Routing
The URL to access a page is determined by the path to the markdown file in the
pages/index.mdis the homepage
This allows you to organize your pages in a way that makes sense for your users, for example:
- by department
- by product
- by customer
- by time period
pages/customers/[customer].mdcreates a page for each customer using the
[customer].mdtemplate. See templated pages for details.
You can include page metadata, such as a title, using frontmatter.