Include file extension in template cache. May fix #798
This commit is contained in:
parent
6672c1c324
commit
659f063076
1 changed files with 2 additions and 2 deletions
|
@ -254,7 +254,7 @@ module Middleman
|
|||
end
|
||||
|
||||
# Read compiled template from disk or cache
|
||||
template = cache.fetch(:compiled_template, options, body) do
|
||||
template = cache.fetch(:compiled_template, extension, options, body) do
|
||||
::Tilt.new(path, 1, options) { body }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue