We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f78ee0d commit 1d8a2f4Copy full SHA for 1d8a2f4
_data.ts
@@ -0,0 +1,9 @@
1
+
2
+// README.md -> index.html
3
+export function url(page: Page) {
4
+ if (page.src.path.endsWith("README")) {
5
+ return page.src.path.replace("README", "index") + ".html";
6
+ } else {
7
+ return;
8
+ }
9
+}
0 commit comments