新学会MT的几个东西:归档映射文件名,上一篇和下一篇

By 谷多 on | Work / MT|WP | 2008年03月

可以参考下面的文档:

http://www.movabletype.org/documentation/administrator/publishing/archive-mapping.html

http://www.movabletype.org/documentation/appendices/archive-file-path-specifiers.html
%e
A numeric entry ID padded with leading zeroes to six digits. Example: 000040

%e%x
可以指定文件名:
archive/%e%x
%x是文件名后缀

 

http://www.movabletype.org/documentation/appendices/tags/entryprevious.html

EntryPrevious
Type: block

A container tag that creates a context to the previous entry before the one in context.

Example

<mt:EntryPrevious>
  <!-- do something -->
</mt:EntryPrevious>

 

http://www.movabletype.org/documentation/appendices/tags/entrynext.html

EntryNext
Type: block

A container tag that creates a context to the next entry after the one in context.

Example

<mt:EntryNext>
  <!-- do something -->
</mt:EntryNext>