Skip to content

Commit

Permalink
0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek24 committed Aug 26, 2024
1 parent 2cdacd5 commit 8214398
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/sitemapGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const generateSitemap = async (baseUrl, destination = 'sitemap.xml') => {
.sort((a, b) => b.priority - a.priority);

const sitemapContent = `<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by https://github.com/sefinek24/easy-sitemap-generator at ${new Date().toISOString()} -->
<!-- Generated by https://github.com/sefinek24/easy-sitemap-generator v${version} at ${new Date().toISOString()} -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
${urls.map(({ url, priority, lastmod }) => ` <url>
<loc>${escapeXml(url)}</loc>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easy-sitemap-generator",
"version": "0.1.3",
"version": "0.1.4",
"description": "Easy and free sitemap.xml file generator without any restrictions for your website.",
"homepage": "https://github.com/sefinek24/easy-sitemap-generator#readme",
"bugs": {
Expand Down

0 comments on commit 8214398

Please sign in to comment.