921adb4ff1
* lower case url Invoke site param as a string Invoke site param as text Remove leading dot Invoke as a page variable Tweak the page param invocation lower case Update Hugo version to 0.57.2 * Make it compatible with Hugo 0.55 (#13680) This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable: * All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar. * Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
28 lines
896 B
TOML
28 lines
896 B
TOML
[build]
|
|
# This default build command adds the robots noindex directive to the site headers.
|
|
# It is turned off for only for the production site by using [context.master] below
|
|
# DO NOT REMOVE THIS (contact @chenopis or @sig-docs-maintainers)
|
|
publish = "public"
|
|
functions = "functions"
|
|
command = "make non-production-build"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.57.2"
|
|
|
|
[context.production.environment]
|
|
HUGO_BASEURL = "https://kubernetes.io/"
|
|
HUGO_ENV = "production"
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
[context.deploy-preview]
|
|
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"
|
|
|
|
[context.branch-deploy]
|
|
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"
|
|
|
|
[context.master]
|
|
# This context is triggered by the `master` branch and allows search indexing
|
|
# DO NOT REMOVE THIS (contact @chenopis or @sig-docs-maintainers)
|
|
publish = "public"
|
|
command = "make production-build"
|