Skip to content

Commit

Permalink
Change default page to "readme.md" (case-sensitive)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Williams committed Jul 20, 2022
1 parent 3ab329d commit eca9cc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>Docs test</title>

<!-- favicon, originally frtom https://www.iconsdb.com/gray-icons/book-16-icon.html -->
<!-- favicon, originally from https://www.iconsdb.com/gray-icons/book-16-icon.html -->
<link rel="icon" type="image/x-icon" href="favicon.ico?v=1">

<!-- pre-connect to CDNs, also with crossorigin -->
Expand Down Expand Up @@ -139,7 +139,8 @@
if (page) {
page = "pages/" + page + ".md"
} else {
page = "README.md";
// if no page specified, load "readme.md" (case sensitive)
page = "readme.md";
}

// request markdown file
Expand Down

0 comments on commit eca9cc4

Please sign in to comment.