Aligns naming of .pygments-cache, .gist-cache and .sass-cache
This commit is contained in:
parent
41cbe78251
commit
f6bf894387
4 changed files with 6 additions and 6 deletions
|
@ -16,7 +16,7 @@ module Jekyll
|
|||
super
|
||||
@text = text
|
||||
@cache_disabled = false
|
||||
@cache_folder = File.expand_path "../_gist_cache", File.dirname(__FILE__)
|
||||
@cache_folder = File.expand_path "../.gist-cache", File.dirname(__FILE__)
|
||||
FileUtils.mkdir_p @cache_folder
|
||||
end
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require 'pygments'
|
|||
require 'fileutils'
|
||||
require 'digest/md5'
|
||||
|
||||
PYGMENTS_CACHE_DIR = File.expand_path('../../_code_cache', __FILE__)
|
||||
PYGMENTS_CACHE_DIR = File.expand_path('../../.pygments-cache', __FILE__)
|
||||
FileUtils.mkdir_p(PYGMENTS_CACHE_DIR)
|
||||
|
||||
module HighlightCode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue