documentation of option

pull/869/head
Georges Gomes 3 years ago
parent f3727d7cc2
commit dafc6c3a31

@ -173,3 +173,20 @@ export default {
}
```
## cleanUrls
- Type: `boolean`
- Default: `false`
When set to `true`, page `foo/bar.md` is generated into `foo/bar/index.html` instead of `foo/bar.html`. This gives URL location look like `foo/bar` instead of `foo/bar.html`.
Also work in MPA mode.
Note: `404.md` page is kept transforming to `404.html` for hosting services.
```ts
export default {
cleanUrls: true
}
```

Loading…
Cancel
Save