aboutsummaryrefslogtreecommitdiffstats
path: root/src/gen/gen.11tydata.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen/gen.11tydata.js')
-rw-r--r--src/gen/gen.11tydata.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gen/gen.11tydata.js b/src/gen/gen.11tydata.js
new file mode 100644
index 0000000..52b6ced
--- /dev/null
+++ b/src/gen/gen.11tydata.js
@@ -0,0 +1,8 @@
+const path = require("path");
+
+module.exports = {
+ eleventyExcludeFromCollections: true,
+ eleventyComputed: {
+ permalink: data => data.permalink || `/${path.relative("/gen", data.page.filePathStem)}.${data.page.outputFileExtension}`
+ }
+}; \ No newline at end of file