rewrite and decouple
This commit is contained in:
parent
96e095215f
commit
4f11920bba
24 changed files with 522 additions and 327 deletions
9
lib/middleman/features/cache_buster.rb
Normal file
9
lib/middleman/features/cache_buster.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
|
||||
# def cache_buster
|
||||
# if File.readable?(real_path)
|
||||
# File.mtime(real_path).strftime("%s")
|
||||
# else
|
||||
# $stderr.puts "WARNING: '#{File.basename(path)}' was not found (or cannot be read) in #{File.dirname(real_path)}"
|
||||
# end
|
||||
# end
|
Loading…
Add table
Add a link
Reference in a new issue