Skip to content

Instantly share code, notes, and snippets.

@thePunderWoman
Created June 7, 2013 13:47
Show Gist options
  • Save thePunderWoman/5729389 to your computer and use it in GitHub Desktop.
Save thePunderWoman/5729389 to your computer and use it in GitHub Desktop.
Linkable Setting image
@if (settings.Get("FreeShippingBanner") != "") {
if (settings.Get("FreeShippingLink") != "") {
<a href="@settings.Get("FreeShippingLink")"><img src="@settings.Get("FreeShippingBanner")" alt="Free Shipping" /></a>
} else {
<img src="@settings.Get("FreeShippingBanner")" alt="Free Shipping" />
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment