Blogger has special b:if , b:elseif , and b:else tags. Those only work if we put them in the XHTML of the Blogger blog, not in the HTML widget (via layout). List of Conditions Item Static Index Archive Homepage Specific URL Error Page Backlink Display Name Number of Comments Jump Link Commenting Enabled Others Techniques list Escaping Quotation Mark Comparing Operators Numeral Non-numeral b:else b:elseif Nesting b:if b:if in Widget Tinkering Widget Content Global CSS/JS Mobile Template External References ITEM Show content only on item page (every single post): <b:if cond='data:blog.pageType == "item"'>...content...</b:if> LIST TOP STATIC Show content only on static page(s): <b:if cond='data:blog.pageType == "static_page"'>...content...</b:if> LIST TOP INDEX Show...