yogthos/Selmer

No boolean operators for conditions

Open

#311 opened on Oct 25, 2024

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Clojure (670 stars) (86 forks)batch import
enhancementhelp wanted

Description

I know there is "all" and "any" in conditions, but there doesn't seem to be an "and" (or "or") operator for instance?

Like: {% if condition-a and condition-b %} (or perhaps "if and conditon-a condition-b")

Right now I need to nest two if-tags, which is not so nice..

Contributor guide