参考:ダイナミック・パブリッシングで頁分割(4) バリエーション編
{{assign var="epp" value=10}}
<MTEntries lastn="10" offset="`$smarty.request.offset`"></MTEntries>
{{capture assign="count"}}<$MTCategoryCount$>{{/capture}}
{{if $count > $epp}}
{{if $smarty.request.offset > 0}}
<MTSetVarBlock name="prevLink"><link rel="prev" href="<$MTCategoryArchiveLink$>?offset={{$smarty.request.offset-$epp}}" />
</MTSetVarBlock>
{{else}}
{{/if}}
{{if $smarty.request.offset < $count-$epp}}
<MTSetVarBlock name="nextLink"><link rel="next" href="<$MTCategoryArchiveLink$>?offset={{$smarty.request.offset+$epp}}" /></MTSetVarBlock>
{{else}}
{{/if}}{{/if}}
あとは
<$MTGetVar name="prevLink"$> <$MTGetVar name="nextLink"$>
を設置したいheadタグ内に追加するだけです。


