Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过执行以下操作来验证用户是否是博客的所有者:
<b:if cond='is_admin'> (display an admin button) </b:if>
有什么建议吗?
谢谢!
答案是:
<b:if cond='data:post.editUrl'> <span expr:class='"item-control " + data:post.adminClass'> (display an admin button) </span> </b:if>
我带来的不便表示歉意!
谢谢