了解更多sitemap查看[sitemaps.org](http://www.sitemaps.org/protocol.html#xmlTagDefinitions)

## homepage
Type: `String`  
Default: `homepage` (来自package.json)

Site URL

## changefreq
Type: `String`

链接的更新频率选项，默认是文件中ymal定义的`changefrq`值，然后是选项`option.changefre`值，最后是`weekly`。

 - always
 - hourly
 - daily
 - weekly
 - monthly
 - yearly
 - never

## priority
Type: `String`

指定此链接相对于其他链接的优先权比值，此值定于0.0 - 1.0之间，默认是文件中ymal定义的`priority`值，然后是选项`option.priority`值，最后是`0.5`。

## exclusions
Type: `Array`  
Default: `['404']`

排除列表，默认是404页面。

```js
options: {
  sitemap: {
    exclusions: ["foo", "bar"],
  },
  files: {
    ...
  }
}
```

### robot
Type: `Boolean`  
Default: `true`

生成`robots.txt`根据`exclusions` 列表，所有任务汇总成为一个。

***注意：robot的生成路径，如果存在relativedest，则相对于dest，否则page，一般为了汇总一个，都设置relativedest和dest，确定根目录，而且可以存放robot.txt***

### relativedest: true
Type: `Boolean`

生成sitemap内容链接的相对路径开关，配合dest选项，内容链接输出路径相对于dest，否则路径默认是page输出路径。

***注意sitemap本身路径总是page的输出路径***

### dest
Type: `String`

生成sitemap的相对路径

## sitemap
Type: `Boolean`
Default: `true`
这个选项是在markdown文档中的，是否把该文档写入sitemap中，默认是true

