From cb008d5ddbbd45ee7d29451ac3d5cd9df8d8e41e Mon Sep 17 00:00:00 2001 From: Henry Catalini Smith Date: Sun, 28 Jul 2024 19:10:59 +0200 Subject: [PATCH] Rename to play/index.html --- .eleventy.js | 5 +++-- .eleventyignore | 2 +- play.html => play/index.html | 0 3 files changed, 4 insertions(+), 3 deletions(-) rename play.html => play/index.html (100%) diff --git a/.eleventy.js b/.eleventy.js index 042f6d5..38a1ea8 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -9,9 +9,10 @@ export default function(eleventyConfig) { eleventyConfig.on( "afterBuild", function() { + fs.mkdirSync("./_site/play") fs.copyFileSync( - "./play.html", - "./_site/play.html", + "./play/index.html", + "./_site/play/index.html", ) fs.mkdirSync("./_site/disk2") fs.copyFileSync( diff --git a/.eleventyignore b/.eleventyignore index 279b6a2..306482b 100644 --- a/.eleventyignore +++ b/.eleventyignore @@ -1,2 +1,2 @@ -play.html +play/index.html disk2/index.html \ No newline at end of file diff --git a/play.html b/play/index.html similarity index 100% rename from play.html rename to play/index.html