12-8 カテゴリの更新履歴を表示する
232ページ
「カテゴリ更新履歴」ウィジェットテンプレート
<mt:ifArchiveTypeEnabled archive_type="Category">
<div class="widget-archive widget-archive-category widget">
<h3 class="widget-header">カテゴリ更新履歴</h3>
<div class="widget-content">
<mt:TopLevelCategories>
<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:SubCatsRecurse />
</mt:TopLevelCategories>
<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__" />更新</li>
<mt:if name="__last__">
</ul>
</mt:if>
</mt:loop>
</div>
</div>
</mt:ifArchiveTypeEnabled>