1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-22 12:51:34 -05:00
privsec.dev/netlify.toml
Tommy 344c8862c3
Update netlify.toml
Signed-off-by: Tommy <contact@tommytran.io>
2022-08-25 18:40:18 -04:00

36 lines
1009 B
TOML

[build.environment]
HUGO_VERSION = "0.101.0"
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
# An array of glob patterns for pages on your site
# Recursive traversal will start from these
entryPoints = [
"*.html",
]
# Recurse through all the links and asset references on your page, starting
# at the entrypoints
recursive = true
# Checklinks outputs TAP (https://testanything.org/tap-version-13-specification.html)
# by default. Enabling pretty mode makes the output easier on the eyes.
pretty = true
# You can mark some check as skipped, which will block checklinks
# from ever attempting to execute them.
# skipPatterns is an array of strings you can match against failing reports
skipPatterns = [
"public/index.html",
"public/about/index.html",
"public/code/index.html",
"public/privacy/index.html",
"public/donate/index.html",
"public/404.html",
]