var pageType = <data:blog.pageType/> not possible?
S1 <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
<script>
var pageType = <data:blog.pageType/>;
</script>
Get always a error:"Uncaught ReferenceError: item is not defined".
This is possible:
<b:if cond='data:blog.pageType != ""'>
<script>
console.log('<!--Index Page-->');
</script>
</b:if>
Why is "var pageType = <data:blog.pageType/>;" not possible, how could I do
it otherwise?
--
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.