Skip to content

Instantly share code, notes, and snippets.

@MelanieS
Created October 27, 2011 06:17
Show Gist options
  • Save MelanieS/1318901 to your computer and use it in GitHub Desktop.
Save MelanieS/1318901 to your computer and use it in GitHub Desktop.
ad_change
<div class='post-header-line-1'/>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<!-- If user is on an index page-->
<div style='float:right;'>
AD CODE (size 125 x 125)
</div>
</b:if>
<b:if cond='data:blog.url != data:blog.homepageUrl'>
<!-- If user is on any page other than an index page -->
<div style='float:right;'>
AD CODE (size 200 x 200)
</div>
</b:if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment