Skip to content

Commit

Permalink
feat : siteMap수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed May 26, 2024
1 parent 6aa119b commit 76933e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/generate-sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ const siteMetadata = require('../data/siteMetadata')
return `
<url>
<loc>${siteMetadata.siteUrl}${route}</loc>
${fm?.data
? '<lastmod>' + (fm.data.lastmod || fm.data.date || '2022-06-01') + '</lastmod>'
: ''
}
</url>
`
})
Expand Down

0 comments on commit 76933e3

Please sign in to comment.