Skip to content

Commit

Permalink
simlify netlify config file
Browse files Browse the repository at this point in the history
Signed-off-by: IanMadd <[email protected]>
  • Loading branch information
IanMadd committed Apr 21, 2020
1 parent 01bb21a commit 598d140
Showing 1 changed file with 40 additions and 39 deletions.
79 changes: 40 additions & 39 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,48 @@
publish = "public"
command = "make assets; hugo --gc --minify --enableGitInfo --config=config.toml,config_netlify.toml"

[build.environment]
HUGO_VERSION = "0.68.0"
HUGO_ENABLEGITINFO = "true"
GO_VERSION = "1.12"
NODE_ENV = "development"
#[build.environment]
# HUGO_VERSION = "0.69.0"
# HUGO_ENABLEGITINFO = "true"
# GO_VERSION = "1.12"
# NODE_ENV = "development"

[build.processing]
skip_processing = true
#[build.processing]
# skip_processing = true

[[plugins]]
package = "netlify-plugin-checklinks"
#[[plugins]]
#package = "netlify-plugin-checklinks"

[plugins.inputs]
# [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 = []

# You can mark some check as todo, which will execute the check, but allow failures.
# todoPatterns is an array of strings you can match against failing reports
todoPatterns = []

# Report on all broken links to external pages.
# Enabling this will make your tests more brittle, since you can't control
# external pages.
checkExternal = false

# Enable to check references to source maps, source map sources etc.
# Many build tools don't emit working references, so this is disabled by default
followSourceMaps = false
# 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 = []

# # You can mark some check as todo, which will execute the check, but allow failures.
# # todoPatterns is an array of strings you can match against failing reports
# todoPatterns = []

# # Report on all broken links to external pages.
# # Enabling this will make your tests more brittle, since you can't control
# # external pages.
# checkExternal = false

# # Enable to check references to source maps, source map sources etc.
# # Many build tools don't emit working references, so this is disabled by default
# followSourceMaps = false

0 comments on commit 598d140

Please sign in to comment.