1 | See [sitemaps.org](http://www.sitemaps.org/protocol.html#xmlTagDefinitions) for detail XML tag definitions.
|
2 |
|
3 | ### dest
|
4 | Type: `String`
|
5 | Default: `undefined`
|
6 |
|
7 | Sitemap destination. If not set, fallback to assemble destination.
|
8 |
|
9 | ## homepage
|
10 | Type: `String`
|
11 | Default: `homepage` (from package.json)
|
12 |
|
13 | Site URL
|
14 |
|
15 | ## changefreq
|
16 | Type: `String`
|
17 | Default: `weekly`
|
18 |
|
19 | How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page. Valid values are:
|
20 |
|
21 | - always
|
22 | - hourly
|
23 | - daily
|
24 | - weekly
|
25 | - monthly
|
26 | - yearly
|
27 | - never
|
28 |
|
29 | ## priority
|
30 | Type: `String`
|
31 | Default: `weekly`
|
32 |
|
33 | The priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites—it only lets the search engines know which pages you deem most important for the crawlers.
|
34 |
|
35 | ## exclusions
|
36 | Type: `Array`
|
37 | Default: `['404']`
|
38 |
|
39 | Page to omit from the sitemap.
|
40 |
|
41 | ```js
|
42 | options: {
|
43 | sitemap: {
|
44 | exclusions: ["foo", "bar"],
|
45 | },
|
46 | files: {
|
47 | ...
|
48 | }
|
49 | }
|
50 | ```
|
51 |
|
52 | ### robot
|
53 | Type: `Boolean`
|
54 | Default: `true`
|
55 |
|
56 | Generate robots.txt from `exclusions` list. |
\ | No newline at end of file |