Skip to content

Commit 3c2519f

Browse files
committed
Merge pull request jekyll#419 from vjt/master
Exception handler in Convertible references nonexisting method .name
2 parents 613a7a4 + f0f99ea commit 3c2519f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/jekyll/post.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ def self.valid?(name)
2222
attr_accessor :data, :content, :output, :ext
2323
attr_accessor :date, :slug, :published, :tags, :categories
2424

25+
attr_reader :name
26+
2527
# Initialize this Post instance.
2628
# +site+ is the Site
2729
# +base+ is the String path to the dir containing the post file

0 commit comments

Comments
 (0)