Skip to content

Commit

Permalink
Merge pull request #2957 from evidence-dev/warning-default-index-page
Browse files Browse the repository at this point in the history
Warning default index page
  • Loading branch information
archiewood authored Jan 2, 2025
2 parents 9465d04 + dd4e472 commit 0b441cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/green-jeans-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@evidence-dev/evidence': patch
---

Add warning message to default index.md
4 changes: 4 additions & 0 deletions sites/example-project/src/pages/+page.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Welcome to the Evidence Development Workspace!

<Alert status=warning>
If you see this page in your Evidence App, you have deleted the `index.md` file from your project. Add a `pages/index.md` to your project to override this page.
</Alert>

This workspace contains examples of all Evidence features.

If you are developing a new feature, add a page to this project. The page will be used as a reference for the feature, as a sandbox for anyone making changes to the feature in the future, and for general product testing.
Expand Down

0 comments on commit 0b441cf

Please sign in to comment.