这里记录一下调用作者相关信息的操作。
[hide]
作者信息

<?php $this->author() ?>  //作者名称
<?php $this->author->permalink(); ?>  //作者文章列表连接
<?php $this->author->url(); ?>
<?php $this->author('url'); ?>  //作者主页
<?php $this->author->mail(); ?>
<?php $this->author('mail'); ?>  //作者邮箱
<?php $this->author->gravatar(); ?>  //作者头像
其中 $this->author->gravatar(60) 代码中,传入60,表示生成60*60大小的头像。

分类信息

<?php echo $this->category; ?>  //分类缩略名
<?php $this->category(); ?>  //带连接的分类名称
<?php $this->category(',', false); ?>  //不带连接的分类名称

评论者信息

<?php $comments->author(); ?>  //带连接的作者名
<?php $comments->author('', false); ?>  //不带连接的作者名

[/hide]