Skip to content

Instantly share code, notes, and snippets.

@thePunderWoman
Created June 7, 2013 13:44
Show Gist options
  • Save thePunderWoman/5729367 to your computer and use it in GitHub Desktop.
Save thePunderWoman/5729367 to your computer and use it in GitHub Desktop.
Social links
<div class="social_links">
@if (!String.IsNullOrEmpty(settings.Get("FacebookPageURL"))) {
<a href="@settings.Get("FacebookPageURL")" title="@settings.Get("SiteName") on Facebook">
<img src="/Content/img/footer/facebook_dark.png" alt="@settings.Get("SiteName") on Facebook" class="dark fb" />
<img src="/Content/img/footer/facebook_active.png" alt="@settings.Get("SiteName") on Facebook" class="active fb" />
</a>
}
@if (!String.IsNullOrEmpty(settings.Get("TwitterPageURL"))) {
<a href="@settings.Get("TwitterPageURL")" title="@settings.Get("SiteName") on Twitter">
<img src="/Content/img/footer/twitter_dark.png" alt="@settings.Get("SiteName") on Twitter" class="dark tweet" />
<img src="/Content/img/footer/twitter_active.png" alt="@settings.Get("SiteName") on Twitter" class="active tweet" />
</a>
}
@if (!String.IsNullOrEmpty(settings.Get("YouTubePageURL"))) {
<a href="@settings.Get("YouTubePageURL")" title="@settings.Get("SiteName") on YouTube">
<img src="/Content/img/footer/youtube_dark.png" alt="@settings.Get("SiteName") on YouTube" class="dark yt" />
<img src="/Content/img/footer/youtube_active.png" alt="@settings.Get("SiteName") on YouTube" class="active yt" />
</a>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment