work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/fileslug.11ty.js

4 lines
78 B
JavaScript

module.exports = function(data) {
return `<p>${data.page.fileSlug}</p>`;
};