lib/jekyll/post.rb in jekyll-3.0.0.pre.beta3 vs lib/jekyll/post.rb in jekyll-3.0.0.pre.beta4
- old
+ new
@@ -66,9 +66,11 @@
self.date = Utils.parse_date(data["date"].to_s, "Post '#{relative_path}' does not have a valid date in the YAML front matter.")
end
populate_categories
populate_tags
+
+ Jekyll::Hooks.trigger self, :post_init
end
def published?
if data.key?('published') && data['published'] == false
false