Revert trailing slash tests

This commit is contained in:
Zach Leatherman 2024-09-27 16:21:14 -05:00
parent 107e6ca8d0
commit 7d06809766
2 changed files with 0 additions and 13 deletions

View File

@ -15,16 +15,6 @@ export default async function(eleventyConfig) {
}
});
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
// For example, `./public/css/` ends up in `_site/css/`
eleventyConfig

View File

@ -1,3 +0,0 @@
{
"trailingSlash": true
}