memoize document output extension (#6814)

Merge pull request 6814
This commit is contained in:
ashmaroli 2018-03-14 16:22:30 +05:30 committed by jekyllbot
parent 6f2a2915f1
commit 68315cea8a
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ module Jekyll
# #
# Returns the output extension # Returns the output extension
def output_ext def output_ext
Jekyll::Renderer.new(site, self).output_ext @output_ext ||= Jekyll::Renderer.new(site, self).output_ext
end end
# The base filename of the document, without the file extname. # The base filename of the document, without the file extname.