Using the conditions in Blogger, I am trying to add a script to a specific URL. I could never get this to work, and I have put it off until now.
This site says: <b:if cond='data:blog.url == "PUT_URL_HERE"'>
So what I tried:
<b:if cond='data:blog.url == "http://xarpixels.blogspot.com/search/blog"'> <script> $( document ).ready(function() { var $content = $('#main'); $content.imagesLoaded( function(){ $content.masonry({ itemSelector : '.post'; }); }); }); </script> </b:if>
Although it does not work. When I look at the source, the script does not load. What am I doing wrong?
source share