February 16, 20179 yr Hi, I recently started my own Blogger website in order to promote my Instagram account. I added a Lightwidget to my website homepage to display my Instagram posts but the widget appears on all pages of my website. I tried to add a condition to my code below but it causes the widget to stop working entirely. Any ideas? My Widget code is as follows: <b:widget id='HTML1' locked='false' title='Images' type='HTML' visible='true'> <b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != ""'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit'/> </b:includable> </b:widget> <b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog' visible='true'> Thanks, Kevin
February 19, 20179 yr Did you try the <b:if cond='data:blog.canonicalUrl == data:blog.homepageUrl'> trick?
Create an account or sign in to comment