Post#is_published ~> Post#published?

This commit is contained in:
Parker Moore 2013-04-26 21:00:47 +02:00
parent f7841d1713
commit fcbab9a3ca
1 changed files with 2 additions and 2 deletions

View File

@ -45,13 +45,13 @@ module Jekyll
self.date = Time.parse(self.data["date"].to_s)
end
self.published = self.is_published
self.published = self.published?
self.populate_categories
self.populate_tags
end
def is_published
def published?
if self.data.has_key?('published') && self.data['published'] == false
false
else