[% FOREACH url = file.article_urls -%] [% IF url.type == 'text/x-perl' %] [% END %] [%- END -%]