DNNCommunity / DNNCommunity/DNN.Blog

Conditional Statements for Terms

Open
#107 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
39
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I would like to react on certain categories or tags.

```
[if|1][categories][contains]Super[/if]


Jackpot

[endif|1]
```

Possible operators could be _contains/any_ or _!contains/none_.

I could also imagine a different syntax:

```
[subtemplate|JackpotTemplateFile.html|categories|Super]
[subtemplate|GeneralTemplateFile.html|categories|!Super]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.