Compare commits

...

1 Commits

Author SHA1 Message Date
Pat Hawks
ad61e41bdb Log include cache hit/miss 2018-07-15 11:37:17 -05:00

View File

@@ -151,8 +151,10 @@ module Jekyll
cached_partial = context.registers[:cached_partials]
if cached_partial.key?(path)
Jekyll.logger.info "Include cache hit: ", path.green
cached_partial[path]
else
Jekyll.logger.info "Include cache miss: ", path.yellow
unparsed_file = context.registers[:site]
.liquid_renderer
.file(path)