diff --git a/docs/syntax/types/boolean.md b/docs/syntax/types/boolean.md new file mode 100644 index 0000000..b8d2c92 --- /dev/null +++ b/docs/syntax/types/boolean.md @@ -0,0 +1,16 @@ +# Boolean + +The `boolean` type can be used to define variables that accept boolean input. + +## Basic + +Basic syntax for the `boolean` type: + +```yaml +variables: + - name: AcceptedToS + type: boolean # Set the type to boolean + description: Do you accept the terms of service? +template: |- + You have {{ if .AcceptedToS }}accepted{{ else }}not accepted{{ end }} the terms of service. +```