mtde.info

Movable Type Developers Express

(モジュール)ブログ記事の概要のモジュール

2008年2月23日 21:08 | Writer: apstar | 記事本文

テンプレートモジュール>ブログ記事の概要のモジュール記述例です。

このテンプレートは、通常、メインページやブログ記事リストからインクルードされます。エントリの追記を含まない本文部分を生成するテンプレートです。

ファイル名:entry_summary.mtml

<h2><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h2>

<$MTInclude module="ブログ記事のメタデータ"$>

<MTIfNonEmpty tag="EntryBody">
   <$MTEntryBody>
</MTIfNonEmpty>

<MTIfTagSearch>
   <$MTInclude module="タグ"$>
</MTIfTagSearch>

<MTIfNonEmpty tag="EntryMore" convert_breaks="0">
   <p class="moreread"><a href="<$MTEntryPermalink$>#more" title="<$MTEntryTitle$>"><$MTEntryTitle$></a>の続きを読む</p>
</MTIfNonEmpty>

以下、特記事項です。

テンプレートの作成例

2008 mtde.info