Refinements
This commit is contained in:
parent
11917645f2
commit
842470b0c4
|
@ -14,3 +14,4 @@ coverage
|
|||
.ruby-version
|
||||
.sass-cache
|
||||
tmp/stackprof-*
|
||||
.jekyll-metadata
|
||||
|
|
|
@ -17,7 +17,7 @@ module Jekyll
|
|||
# Handling Reading
|
||||
'safe' => false,
|
||||
'include' => ['.htaccess'],
|
||||
'exclude' => [],
|
||||
'exclude' => ['.jekyll-metadata'],
|
||||
'keep_files' => ['.git','.svn'],
|
||||
'encoding' => 'utf-8',
|
||||
'markdown_ext' => 'markdown,mkdown,mkdn,mkd,md',
|
||||
|
|
|
@ -62,10 +62,10 @@ module Jekyll
|
|||
|
||||
# Add a dependency of a path
|
||||
#
|
||||
# Returns true.
|
||||
# Returns nothing.
|
||||
def add_dependency(path, dependency)
|
||||
@metadata[path]["deps"] << dependency unless @metadata[path]["deps"].include? dependency
|
||||
add(dependency)
|
||||
regenerate? dependency
|
||||
end
|
||||
|
||||
# Write the metadata to disk
|
||||
|
|
|
@ -2,4 +2,3 @@ _site/
|
|||
*.swp
|
||||
pkg/
|
||||
test/
|
||||
.jekyll-metadata
|
||||
|
|
Loading…
Reference in New Issue