yogthos/Selmer

No boolean operators for conditions

Open

#311 opened on Oct 25, 2024

 (6 comments) (0 reactions) (0 assignees)Clojure (121 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (1,042 stars)
PR merge metrics
 (No merged PRs in 30d)

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