Using the condition statements in Blogger, I'm trying to add a script to a specific URL. I have never been able to get this to work, and I have been putting it off until now.
At this site, it says to use: <b:if cond='data:blog.url == "PUT_URL_HERE"'>
So that's 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 isn't working. When I view the source, that script is not loading. What am I doing wrong?