Calendar Tags

The template tags listed in Table B.5 are used primarily to build calendar-style navigation for your weblog's archives.

Table B.5. Category Tags
Tag NameTag TypeDescription
MTCalendarLCIterates over the days in a month-style calendar for the entries in the current archive. Attributes:

category: Specifies a particular category to be used for the link.

month: Specifies the month to build the calendar for. Acceptable values are last, this, and a specific month in the format YYYYMM.

MTCalendarCellNumberVInserts the number of the current day's block in the calendar, where the first row of days is 1–7, the second 8–14, and so on.
MTCalendarDateVInserts the date of the currentblock. Attributes:

format:language: Controls how the date is written. ...

Get Sams Teach Yourself Movable Type in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.