mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-30 23:16:52 +00:00
Algolia搜索
This commit is contained in:
@@ -38,6 +38,12 @@ export async function generateSitemapXml({ allPages }) {
|
||||
console.warn('无法写入文件', error)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成站点地图
|
||||
* @param {*} urls
|
||||
* @returns
|
||||
*/
|
||||
function createSitemapXml(urls) {
|
||||
let urlsXml = ''
|
||||
urls.forEach(u => {
|
||||
|
||||
Reference in New Issue
Block a user