blob: 289d3b6753f6a77c3238bdafa8271f0d8321ed79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module.exports = class {
data() {
return {
permalink: "/robot.txt"
};
}
render(data) {
return `User-agent: *
Disallow:
Sitemap: ${new URL("/sitemap.xml",data.metadata.url)}`;
}
};
|