Revert trailing slash tests
This commit is contained in:
parent
107e6ca8d0
commit
7d06809766
2 changed files with 0 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"trailingSlash": true
|
||||
}
|
Loading…
Add table
Reference in a new issue