Skip to content
Snippets Groups Projects
Commit e149803e authored by ashmaroli's avatar ashmaroli Committed by jekyllbot
Browse files

memoize path to metadata file (#6602)

Merge pull request 6602
parent c471f943
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -128,7 +128,7 @@ module Jekyll
#
# Returns the String path of the file.
def metadata_file
site.in_source_dir(".jekyll-metadata")
@metadata_file ||= site.in_source_dir(".jekyll-metadata")
end
 
# Check if metadata has been disabled
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment