This commit is contained in:
Zach Leatherman 2024-09-27 17:00:14 -05:00
parent 644b1f09f0
commit 33f30bc106
2 changed files with 0 additions and 16 deletions

View File

@ -15,21 +15,6 @@ export default async function(eleventyConfig) {
} }
}); });
eleventyConfig.addUrlTransform((page) => {
if (page.url.length > 1 && page.url.endsWith("/")) {
return page.url.slice(0, -1);
}
});
// eleventyConfig.addUrlTransform((page) => {
// if (page.url.endsWith(".html")) {
// return page.url.slice(0, -1 * ".html".length);
// }
// });
// eleventyConfig.addGlobalData("permalink", () => {
// return (data) =>
// `${data.page.filePathStem}.${data.page.outputFileExtension}`;
// });
// Copy the contents of the `public` folder to the output folder // Copy the contents of the `public` folder to the output folder
// For example, `./public/css/` ends up in `_site/css/` // For example, `./public/css/` ends up in `_site/css/`
eleventyConfig eleventyConfig

View File

@ -1 +0,0 @@
{ "trailingSlash": false }