summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-30 10:07:28 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-30 20:12:03 +0100
commitafee781f03df4305698bf4b6991cd10e996515c5 (patch)
tree032a56da49d959991f9d0c8e6321a0adac0a21ce /common
parent4e84f57efb57f5c8a850e4c1d562a0bcc7bd1700 (diff)
Emit a warning that can be turned off when overwriting built-in .Params values
Fixes #11941
Diffstat (limited to 'common')
-rw-r--r--common/constants/constants.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/constants/constants.go b/common/constants/constants.go
index e4f5a63a2..f8f057e05 100644
--- a/common/constants/constants.go
+++ b/common/constants/constants.go
@@ -13,12 +13,14 @@
package constants
-// Error IDs.
+// Error/Warning IDs.
// Do not change these values.
const (
// IDs for remote errors in tpl/data.
ErrRemoteGetJSON = "error-remote-getjson"
ErrRemoteGetCSV = "error-remote-getcsv"
+
+ WarnFrontMatterParamsOverrides = "warning-frontmatter-params-overrides"
)
// Field/method names with special meaning.