Problem with conditional tag
S1 <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
<script>
var url = "<data:blog.url/>",
homepageUrl = "<data:blog.homepageUrl/>p/MyStaticPage.html";
console.log('MyStaticPage = ' + url + " | " + homepageUrl + " | url = homepageUrl:
" + (url == homepageUrl));
</script>
$ *MyStaticPage = http://MyBlog.blogspot.de/p/kontakt.html |
http://MyBlog.blogspot.de/p/**MyStaticPage.html | *
*url = homepageUrl: true*That's the expected result.
But what is wrong with conditional tag, which should be also true, but is
always false?
*<b:if cond='data:blog.url == data:blog.homepageUrl +
"p/MyStaticPage.html"'>*This one would be okay:
*<b:if cond='data:blog.url == data:blog.homepageUrl'>*
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.