Displays the number of comments with the link. \u0026lt;span class='post-comment-link'>
\u0026lt;b: if cond = 'data: blog.pageType! = " Item & ; quot; '>
\u0026lt;b:if cond='data:blog.pageType != "static_page"'>
\u0026lt;b: if cond = 'data: post.allowComments & # 39;>
\u0026lt;a class = 'comment-link' expr: href = 'data: post.addCommentUrl' expr: onclick = 'data: post.addCommentOnclick & # 39;> \u0026lt;b:if cond='data:post.numComments == 1'> a \u0026lt;data:top.commentLabel/> \u0026lt;b:else/> \u0026lt;data : post.numComments /> \u0026lt;data:top.commentLabelPlural/> \u0026lt;/ b: if> \u0026lt;/ a>
\u0026lt;/ b: if>
\u0026lt;/ b: if>
\u0026lt;/ b: if>
\u0026lt;/ span>
Data
| data | meanings |
|---|---|
| data: blog.pageType | Type page. Values: "item", "static_page", "archive" or "index". |
| data: post.allowComments | "True" if comments are allowed. |
| data: post.addCommentUrl | url to the post's comments. |
| data: post.addCommentOnclick | ... |
| data: post.numComments | Number of comments related to the post. |
| data: top.commentLabel | text default comments. The text is editable in the settings . |
| data: top.commentLabelPlural | ... |
0 comments:
Post a Comment