テンプレート・モジュール : page
ウェブページの内容を表示するモジュールです。
自分でテンプレート・モジュールを作成する場合は、この標準モジュールをベースに、カスタマイズをするのが楽です。モジュールを作成したら、『新しくテンプレート・モジュールを作成』をクリックして、名前( page )をつけて保存します。作成したモジュールは、以下のように記述することで、他のテンプレートで読み込むことができます。
- <$MTInclude module="page"$>
関連モジュール・テンプレート
- 共通モジュール
このテンプレート / モジュールが利用している、TypePadの共通モジュールのリストです。モジュール名をクリックすると、内容を表示します。
- 利用元テンプレート
このモジュールを利用しているテンプレートあるいはモジュールの一覧です。テンプレート名をクリックすると、内容を表示します。
three-column-right-Page two-column-right-Page one-column-Page two-column-left-Page three-column-Page
テンプレートの内容
<!-- page -->
<div class="entry" id="entry-<$MTEntryID$>">
<h3 class="entry-header"><$MTPageTitle$></h3>
<div class="entry-content">
<div class="entry-body">
<$MTPageBody$>
</div>
</div>
<MTWeblogIfExposePostFooterLinks>
<div class="entry-footer">
<$MTWeblogIncludeModule module="entry-footer-links"$>
</div>
</MTWeblogIfExposePostFooterLinks>
</div>
<MTEntryIfAllowPings>
<$MTWeblogIncludeModule module="trackbacks"$>
</MTEntryIfAllowPings>
<MTEntryIfAllowComments>
<a id="comments"></a>
<div class="comments">
<h3 class="comments-header"><$MTTrans phrase="Comments"$></h3>
<MTBlogIfEntryCommentFeed>
<div class="comments-info">
<p><a href="<$MTEntryCommentAtomFeedURL$>"><img src="<$MTStaticWebPath$>images/feed.png" alt="<$MTTrans phrase="Feed"$>" width="10" height="10" /></a> <$MTTrans phrase="You can follow this conversation by subscribing to the"$> <a href="<$MTEntryCommentAtomFeedURL$>"><$MTTrans phrase="comment feed"$></a> <$MTTrans phrase="for this post."$></p>
</div>
</MTBlogIfEntryCommentFeed>
<div class="comments-content">
<$MTWeblogIncludeModule module="comment-list"$>
</div>
</div>
<$MTWeblogIncludeModule module="comment-form"$>
</MTEntryIfAllowComments>
[ テンプレート一覧に戻る ] [ モジュール一覧に戻る ]