Typecho 设置评论者链接从新窗口中打开
修改 Comments.php
文件
文件所在位置 /var/Widget/Abstract/Comments.php
修改代码(约第 376
行)
//echo '<a href="' , $this->url , '"' , ($noFollow ? ' rel="external nofollow"' : NULL) , '>' , $this->author , '</a>';//原代码
echo '<a href="' , $this->url , '"' , ($noFollow ? ' rel="external nofollow"' : NULL) , ' target="_blank" ' ,'>' , $this->author , '</a>';//添加_blank属性