How can I set conditions to populate different links?

Similar question of How can I set conditions on dynamic attribute?

<li><a dmx-bind:href="./{{params.permalink}}/{{params.eventsequencial}}/result/" dmx-class="">Result</a></li>

I would like to change this href part depending on the time condition.

for instance,

  1. now =< entrycutoff
<li><a dmx-bind:href="./{{params.permalink}}/{{params.eventsequencial}}/entry/" dmx-class="">Entry</a></li>
  1. eventstart =< now =< eventend
<li><a dmx-bind:href="./{{params.permalink}}/{{params.eventsequencial}}/event/" dmx-class="">Event</a></li>
  1. eventend<now
<li><a dmx-bind:href="./{{params.permalink}}/{{params.eventsequencial}}/result/" dmx-class="">Result</a></li>


I’ve already set this query, btw.

how can I set class toggle of dynamic attributes?

Community Page
Last updated: