One more try
This commit is contained in:
1 parent
fb5caf353b
commit
f9522c3cb7
1 file changed
+1
-1
+1
-1
@@ -16,7 +16,7 @@ export default async function(eleventyConfig) {
|
||||
});
|
||||
|
||||
eleventyConfig.addUrlTransform((page) => {
|
||||
if (page.url.endsWith("/")) {
|
||||
if (page.outputPath?.endsWith(".html") && url.endsWith("/")) {
|
||||
return page.url.slice(0, -1);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user