exclude partials from sitemap (#3065)

* exclude partials in frontmatter

* add path to exclude

* wildcard?

* manually specify excludes in config
This commit is contained in:
Alex Fornuto 2022-02-18 14:13:18 -06:00 committed by GitHub
parent d1b0a4b1c0
commit 54c68fbbb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,10 @@ module.exports = {
{ {
hostname: "https://www.pomerium.com", hostname: "https://www.pomerium.com",
outFile: "docs/sitemap.xml", outFile: "docs/sitemap.xml",
exclude: [
'/partials/generate-recovery-token.html',
'/partials/install-mkcert.html',
],
}, },
], ],
[ [