Skip to content

Instantly share code, notes, and snippets.

@BobbySig
Last active January 1, 2016 21:59
Show Gist options
  • Save BobbySig/8207155 to your computer and use it in GitHub Desktop.
Save BobbySig/8207155 to your computer and use it in GitHub Desktop.
Determines whether to display snowflakes on my tumblr.
{
var tmp = document.getElementById("theme_snowflakes").innerHTML
if ({MonthNumber} == 1 || {MonthNumber} == 12) {
tmp = "<script src='http://static.tumblr.com/2w7y46r/xtmlvfnoc/snowstorm.js'></script>";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment