[% SET authors = entry.authors -%] [%- IF authors.size -%]

By [% FOR author = authors -%] [% IF author.homepage %][% author.name || author.username |encode |html %][% ELSE %][% author.name || author.username |encode |html %][% END %][% IF !loop.last %],[% END %] [% END -%]

[% END -%]