Fix inaccurate comments

This commit is contained in:
Chris Frederick 2014-08-26 17:17:13 +09:00
parent 71b10e2d4a
commit 79992fc3c8
1 changed files with 2 additions and 4 deletions

View File

@ -162,16 +162,14 @@ module Jekyll
# Determine whether the file should be rendered with Liquid. # Determine whether the file should be rendered with Liquid.
# #
# Returns false if the document is either an asset file or a yaml file, # Always returns true.
# true otherwise.
def render_with_liquid? def render_with_liquid?
true true
end end
# Determine whether the file should be placed into layouts. # Determine whether the file should be placed into layouts.
# #
# Returns false if the document is either an asset file or a yaml file, # Returns false if the document is an asset file.
# true otherwise.
def place_in_layout? def place_in_layout?
!asset_file? !asset_file?
end end