spf13/hugo — pull request #486 by natefinch (2014-09-06 12:07:54+00:00)
Title: fix zero date

I'm not exactly sure why we were defaulting the date on pages to 2008, but it breaks pages that intentionally don't set a date. Fixed to just not do that. With this change you can do this and it'll do the expected thing:

{{ if not .Date.IsZero }} {{.Date.Format "something" }} {{end}}