作者trash (..)
看板Blog
标题Re: [问题] Blogger的细部修改
时间Sun Oct 21 14:40:56 2007
进入"修改HTML"
勾选"展开小装置范本"
找"data:post.numComments"
附近应该会出现类似的HTML
(下面以我用的template为例
我不知道其他的template会不会有很大的差异)
<b:if cond='data:post.numComments == 1'>
1 <data:top.commentLabel/>
<b:else/>
<data:post.numComments/> <data:top.commentLabelPlural/>
</b:if>
改成
<b:if cond='data:post.numComments == 1'>
<data:top.commentLabel/>(1)
<b:else/>
<data:top.commentLabelPlural/>(<data:post.numComments/>)
</b:if>
应该有两个地方要改
※ 引述《lalacat (雅)》之铭言:
: 请问在每篇文章最底下的 Posted by xxx at 10:18 那一列
: 能否将原先的『0 comment』改变成『comment(0)』呢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.87.174
※ 编辑: trash 来自: 140.113.87.174 (10/21 16:32)
1F:推 lalacat:照你的叙述修改 一次就成功了 谢谢你 :) 10/22 01:30
2F:推 cabuy:同样受惠,感激。 :) 10/22 10:17