[%# vim:set filetype=html: %] [% SET last_season = 0 %] [% FOR t = tournaments %] [% IF t.season != last_season %] [% IF last_season != 0 %] [% END %] [% SET last_season = t.season %]