Fix typos and remove some obtrusive code
This commit is contained in:
parent
22dcc4e20f
commit
66c5ef2556
|
@ -79,7 +79,6 @@ module Jekyll
|
||||||
super(base, name)
|
super(base, name)
|
||||||
self.excerpt = self.extract_excerpt
|
self.excerpt = self.extract_excerpt
|
||||||
self.data['layout'] = 'post' unless self.data.has_key?('layout')
|
self.data['layout'] = 'post' unless self.data.has_key?('layout')
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Compares Post objects. First compares the Post date. If the dates are
|
# Compares Post objects. First compares the Post date. If the dates are
|
||||||
|
@ -116,7 +115,6 @@ module Jekyll
|
||||||
def transform
|
def transform
|
||||||
super
|
super
|
||||||
self.excerpt = converter.convert(self.excerpt)
|
self.excerpt = converter.convert(self.excerpt)
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# The generated directory into which the post will be placed
|
# The generated directory into which the post will be placed
|
||||||
|
@ -313,7 +311,7 @@ module Jekyll
|
||||||
# [1]: http://example.com/
|
# [1]: http://example.com/
|
||||||
#
|
#
|
||||||
# This is fairly good option for Markdown and Textile files. But might cause
|
# This is fairly good option for Markdown and Textile files. But might cause
|
||||||
# problems for HTML posts (which is quiet unusual for Jekyll). If default
|
# problems for HTML posts (which is quite unusual for Jekyll). If default
|
||||||
# excerpt delimiter is not good for you, you might want to set your own via
|
# excerpt delimiter is not good for you, you might want to set your own via
|
||||||
# configuration option `excerpt_separator`. For example, following is a good
|
# configuration option `excerpt_separator`. For example, following is a good
|
||||||
# alternative for HTML posts:
|
# alternative for HTML posts:
|
||||||
|
|
Loading…
Reference in New Issue