Skip to content

Instantly share code, notes, and snippets.

@azcoov
Created January 23, 2011 02:20
Show Gist options
  • Save azcoov/791744 to your computer and use it in GitHub Desktop.
Save azcoov/791744 to your computer and use it in GitHub Desktop.
Weighted Tag Class
public static class BlogHelper
{
public static string GetTagClass(int id)
{
if (id % 2 == 0)
{
return "post-tag pop1";
}
else
{
return "post-tag pop2";
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment