Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Nov 21, 2024
1 parent 3264d4f commit c68e7c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
3 changes: 2 additions & 1 deletion lib/sitemap.xml.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import BLOG from '@/blog.config'
import fs from 'fs'
import { siteConfig } from './config'
/**
* 生成站点地图
* @param {*} param0
*/
export async function generateSitemapXml({ allPages, NOTION_CONFIG }) {
const link = siteConfig('LINK', null, NOTION_CONFIG)
const link = siteConfig('LINK', BLOG.LINK, NOTION_CONFIG)
const urls = [
{
loc: `${link}`,
Expand Down
36 changes: 0 additions & 36 deletions themes/magzine/components/RevolverMaps.js

This file was deleted.

0 comments on commit c68e7c9

Please sign in to comment.