work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/class-data-permalink.11ty.js

14 lines
167 B
JavaScript

class Test {
get data() {
return {
permalink: "/my-permalink/"
};
}
render({ name }) {
return `<p>${name}</p>`;
}
}
module.exports = Test;