yogthos/Selmer

No boolean operators for conditions

开放

#311 创建于 2024年10月25日

 (6 条评论) (0 个反应) (0 位负责人)Clojure (121 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (1,042 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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..

贡献者指南