We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c916d61 commit 22d5782Copy full SHA for 22d5782
1 file changed
bin/sitemap.js
@@ -43,12 +43,14 @@ async function buildSiteMap () {
43
priority: 1
44
})
45
for (const page of data.pages) {
46
- urls.push({
47
- loc: host + '/' + page + '.html',
48
- lastmod: dayjs(state.mtime).format(fmt),
49
- changefreq: 'weekly',
50
- priority: 1
51
- })
+ if (page !== 'deb') {
+ urls.push({
+ loc: host + '/' + page + '.html',
+ lastmod: dayjs(state.mtime).format(fmt),
+ changefreq: 'weekly',
+ priority: 1
52
+ })
53
+ }
54
}
55
const arr = await buildPages()
56
urls.push(...arr)
0 commit comments