MT5(Movable Type 5)でサイトマップを作成

Movable Type 5のウェブサイト全体のサイトマップを作成したい場合の例。
ポイントはこちらのコードをで囲むこと。include_blogsモディファイアでブログを指定する。必要に応じてinclude_with_websiteモディファイアも指定する。
サイトマップページ作成はもちろん、google用sitemap.xmlにも使えるだろう。

<h2>サイトマップ</h2>
<mt:Blogs include_blogs="children" include_with_website="1">
<MTIfArchiveTypeEnabled archive_type="Category">
    <div class="sitemap">
      <h3><a href="<$MTBlogURL$>" title="<$MTBlogDescription$>"><$MTBlogName$> トップ</a></h3>
<MTTopLevelCategories>
<MTSubCatIsFirst>
      <ul class="tree">
</MTSubCatIsFirst>
<MTIfNonZero tag="MTCategoryCount">
        <li><a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><MTCategoryLabel></a>
          <ul class="entry">
<MTEntries>
            <li><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>
</MTEntries>
          </ul>
<MTSubCatsRecurse>
        </li>
</MTIfNonZero>
<MTSubCatIsLast>
      </ul>
</MTSubCatIsLast>
</MTTopLevelCategories>

<MTIfArchiveTypeEnabled archive_type="Monthly">
      <ul class="tree">
        <li>月間アーカイブ
          <ul class="monthly">
<MTArchiveList archive_type="Monthly">
            <li><a href="<$MTArchiveLink encode_xml="1"$>"><$MTArchiveTitle$></a></li>
</MTArchiveList>
          </ul>
        </li>
      </ul>
</MTIfArchiveTypeEnabled>
    </div>
</MTIfArchiveTypeEnabled>
</mt:Blogs>