Skip to content

Commit 3c7c741

Browse files
Updating the readme to better detail sitemap config changes
1 parent c477e6a commit 3c7c741

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,13 @@ To exclude a specific page use the snippet `sitemap:false` at the top of the pag
2929

3030
> :warning: **If you are including the page in another page (using `include_relative`)**: add the page as a default in `_config.yml` otherwise the `sitemap:false` is displayed as HTML on the page.
3131
32+
## Example default to add to `_config.yml`
33+
```yml
34+
-
35+
scope:
36+
path: 'pages-people/*'
37+
values:
38+
sitemap: false
39+
```
40+
3241
All files in `_include` are excluded from the sitemap automatically

0 commit comments

Comments
 (0)