Post#published is not available in newer Jekyll versions, fixes #25

Post#published is not available in Jekyll since this commit https://github.com/jekyll/jekyll/commit/09c6ff4f9c9568c103788e2d7f0c9804c7706492