How to check if a post has a specific label (using conditional tags)?
问题 I'm using blogger, and I want to use different <title> tags depending on the post labels. For example, if a post has the label: "SOMELABEL1", it will show <title>Title1 - Wbsitename</title> , and if the post has the label: "SOMELABEL2", it will show <title>2222 - Webitename</title> . I have tried to use the following code (which is working on the middle of the page - in the body), but not in the head start: <b:if cond='data:post.labels any (l => l.name in "LABEL1")'> <title>1111 - Webitename<