{{hasClassification}}
Block helper that checks whether a classification with the given name is present in a list of classifications, and renders its content when it is. The optional {{else}} block renders when it is not. Classification names are matched case-insensitively.
This is the standard way to make a template branch on how an object is classified, without hard-coding object names.
{{#hasClassification classifications "Name"}} do something {{else}} do something else {{/hasClassification}}Example
Section titled “Example”{{#hasClassification classifications "Source"}}This object is a source.{{else}}This object is not a source.{{/hasClassification}}For an object classified as Source, this results in:
This object is a source.To match on the classification group instead of the name, use hasClassificationGroup.