The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
[% SET link = c.uri_for("attachment",att.id) %]
[% SET link = link.replace ('.+//.+?/','/') %]
[% IF c.pref('main_formatter') == "MojoMojo::Formatter::Textile" +%]
"[%att.name%]":[% link %]
[% ELSIF c.pref('main_formatter') == "MojoMojo::Formatter::Markdown" +%]
[[%att.name%]]([% link %])
[% ELSE %]
"[%att.name%]":[% link %]
[% END %]