<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
我想在 tumblr 帖子上没有注释时隐藏 {NoteCount} 或 {NoteCountWithLabel},而不是显示 0 或 0 个注释。
这是我正在构建的一个新的 tumblr 主题。
文档:https://www.tumblr.com/docs/en/custom_themes
如果可能,可以用javascript
或css
完成吗?
最佳答案
你读过文档了吗?
上面写着:{block:NoteCount}
Rendered if this post has notes. Always wrap note counts in this block so they will be properly hidden on non-post pages.
关于javascript - (tumblr) 如果帖子上没有注释,如何隐藏 {NoteCount}?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34369770/