LexLadiesCode/LexLadiesCode.github.io — pull request #12 by moneypenny (2014-12-23 01:11:13+00:00)
Title: Don't show empty Events section

1. Save the current date in a variable called `curDate`.
1. Go through all events. If any of them are upcoming, set another variable called `showEvents` to `true`.
1. Check `showEvents` variable before displaying the 'Events' header and the list of upcoming events.

Boom! No more sad 'Events' header with no events listed under it.