Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
letrastudio committed Oct 19, 2019
1 parent dd7d03e commit 9a6526e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll/liquid_renderer/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def initialize(renderer, filename)

def parse(content)
measure_time do
@renderer.cache[@filename] ||= Liquid::Template.parse(content, :line_numbers => true)
@renderer.cache[@filename] = Liquid::Template.parse(content, :line_numbers => true)
end
@template = @renderer.cache[@filename]

Expand Down

0 comments on commit 9a6526e

Please sign in to comment.