<mt:If name="main_index">
  <mt:IfArchiveTypeEnabled archive_type="Category">
<div class="widget-archive widget-archive-category widget">
  <h3 class="widget-header">JeSXV</h3>
  <div class="widget-content">
    <mt:Categories>
      <mt:SetVarBlock name="category_link"><a href="<mt:CategoryArchiveLink />"><mt:CategoryLabel /></a></mt:SetVarBlock>
      <mt:Entries lastn="1">
        <mt:EntryDate setvar="entry_date" format="%x" />
        <mt:SetVar name="category_list{$category_link}" value="$entry_date" />
      </mt:Entries>
    </mt:Categories>

    <mt:Loop name="category_list" sort_by="value reverse">
      <mt:If name="__first__">
    <ul>
      </mt:If>
      <li><mt:GetVar name="__key__" /> <mt:GetVar name="__value__" />XV</li>
      <mt:If name="__last__">
    </ul>
      </mt:If>
    </mt:Loop>
  </div>
</div>
  </mt:IfArchiveTypeEnabled>
</mt:If>
