The Movable Type User Manual

NOTE: This documentation is for Movable Type 3.2. If you are using a newer version, please see the documentation for Movable type 3.3x or Movable Type Enterprise.

« Reusing Template Markup with Modules | Up | Displaying a Calendar Layout »

Chapter 3: Templates and Layout

Displaying Weblog Data

Problem

You want to display data about your weblog in a template.

Solution

Use the template tags prefixed with MTBlog.

Discussion

Movable Type includes a collection of variable tags for displaying information about a weblog in templates. These tags are prefixed with MTBlog. The following sample layout publishes some information about a weblog and the number of entries and comments.

 <div>
 <$MTBlogName$><br/>
 <$MTBlogURL$><br/>
 <$MTBlogDescription$><br/>
 Entries: <$MTBlogEntryCount$>&nbsp;
 Comments: <$MTBlogCommentCoount$>
 </div>

For the full list of weblog-related tags see Appendix A.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or question. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.