From 3c282999e89c7065be29f54697ec522c3979eaa9 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Mon, 21 Feb 2022 12:28:29 -0600 Subject: [PATCH] Add mutli-class detail --- _docs/070_templates.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_docs/070_templates.md b/_docs/070_templates.md index ea3fc12..2cc1471 100644 --- a/_docs/070_templates.md +++ b/_docs/070_templates.md @@ -98,7 +98,12 @@ variable. Only equality can be tested. These blocks must start with block can also be specified using the directive `{% else %}`. These directives must appear on lines by themselves. They may not appear on the same line. The "if" directive only supports testing a single variable, and there is no "elif" -directive as there is in Jinja. Here is an example. +directive as there is in Jinja. +

+If multiple classes are defined, `yadm.class=="someclass"` will be true if *any* +of the defined classes are "someclass". +

+Here is an example. ```jinja {% if yadm.os == "Darwin" %}