最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

blog - How to set condition for all posts with one label

programmeradmin3浏览0评论

My blog is total 10 post's, 5 post's with 'job' label and 5 "admit card" label I set condition for 'job' label

<b:if cond='data:blog.post.label == "job"'><!-- for label 'job' --><style>.body {width:1200px;}</style></b:if>

That is, whenever there is a post index of the job label, then the style (body width) the change

发布评论

评论列表(0)

  1. 暂无评论