默认的typecho的站点标题
修改教程如下:
在-控制台-外观里,点击编辑当前外观,找到header.php,找到title的代码处:
标红的就是引用描述的字段,删除此段代码。
<title><?php $this->archiveTitle(array('category'=>_t(' %s '),'search'=>_t(' %s '),'tag'=>_t(' %s '),'author'=>_t(' %s ')),'',' - ');?> <?php $this->options->title();?> - <?php $this->options->description() ?></title>
修改为:
<title><?php $this->archiveTitle(array('category'=>_t(' %s '),'search'=>_t(' %s '),'tag'=>_t(' %s '),'author'=>_t(' %s ')),'',' - ');?> <?php $this->options->title();?> </title>
修改完成,点击保存文件即可。
本文来自投稿,不代表本站立场,如若转载,请注明出处:https://typecho.firshare.cn/archives/832.html