为了方便在游览文章的时候,发现某些地址书写的不正确,或者格式不规范,需要在给文章添加快速编辑按钮,通过在 布局 > 博文 > 修改 > 勾选显示快速修改 ,然后在html模板里找到下面语句:
<b:includable id='postQuickEdit' var='post'>
<b:if cond='data:post.editUrl'>
<span expr:class='"item-control " + data:post.adminClass'>
<a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'>
<img alt='' class='icon-action' height='18' src='http://img2.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</b:if>
</b:includable>
修改为:
<b:includable id='postQuickEdit' var='post'>
<b:if cond='data:post.editUrl'>
<a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg' rel="nofollow">编辑文章</a>
</b:if>
</b:includable>
这样就可以使用文字链接替换默认的图片链接
没有评论 :
发表评论