@@ -2,28 +2,27 @@ const fs = require('fs')
2
2
3
3
const nowDate = ( new Date ( ) ) . toISOString ( ) . split ( 'T' ) [ 0 ]
4
4
5
- const sitemap = `
6
- <?xml version="1.0" encoding="UTF-8"?>
7
- <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
8
- <url>
9
- <loc>https://interslavic-dictionary.com/</loc>
10
- <lastmod>${ nowDate } T00:00:00+00:00</lastmod>
11
- <changefreq>weekly</changefreq>
12
- <priority>1.0</priority>
13
- </url>
14
- <url>
15
- <loc>https://interslavic-dictionary.com/about</loc>
16
- <lastmod>${ nowDate } T00:00:00+00:00</lastmod>
17
- <changefreq>weekly</changefreq>
18
- <priority>1.0</priority>
19
- </url>
20
- <url>
21
- <loc>https://interslavic-dictionary.com/grammar</loc>
22
- <lastmod>${ nowDate } T00:00:00+00:00</lastmod>
23
- <changefreq>weekly</changefreq>
24
- <priority>1.0</priority>
25
- </url>
26
- </urlset>
5
+ const sitemap = `<?xml version="1.0" encoding="UTF-8"?>
6
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
7
+ <url>
8
+ <loc>https://interslavic-dictionary.com/</loc>
9
+ <lastmod>${ nowDate } T00:00:00+00:00</lastmod>
10
+ <changefreq>weekly</changefreq>
11
+ <priority>1.0</priority>
12
+ </url>
13
+ <url>
14
+ <loc>https://interslavic-dictionary.com/about</loc>
15
+ <lastmod>${ nowDate } T00:00:00+00:00</lastmod>
16
+ <changefreq>weekly</changefreq>
17
+ <priority>1.0</priority>
18
+ </url>
19
+ <url>
20
+ <loc>https://interslavic-dictionary.com/grammar</loc>
21
+ <lastmod>${ nowDate } T00:00:00+00:00</lastmod>
22
+ <changefreq>weekly</changefreq>
23
+ <priority>0.1</priority>
24
+ </url>
25
+ </urlset>
27
26
`
28
27
29
28
fs . writeFileSync ( './dist/sitemap.xml' , sitemap )
0 commit comments