We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b30eb6 commit 324301aCopy full SHA for 324301a
src/index.js
@@ -68,6 +68,8 @@ const mainRender = function (cb) {
68
69
if (!route) {
70
page = OPTIONS.homepage || 'README.md'
71
+ } else if (/\.md$/.test(route)) {
72
+ page = route
73
} else if (/\/$/.test(route)) {
74
page = `${route}README.md`
75
} else {
0 commit comments