-
{{each $data}}
{{set closed = $value[$value.length-1] == 'closed'}}
-
{{if closed}} {{$value[1]}} {{else}} {{$value[1]}} {{/if}}
{{each $value}} {{set isUrl = $value.indexOf('http') == 0}} {{if isUrl}}{{if closed}} {{$value}} {{else}} {{set url = `${$value}?t=${Math.random()}`}} {{$value}} {{/if}}
{{/if}} {{/each}}
{{/each}}