lib/octopress-ink/jekyll/hooks.rb in octopress-ink-1.1.2 vs lib/octopress-ink/jekyll/hooks.rb in octopress-ink-1.1.4
- old
+ new
@@ -24,10 +24,11 @@
Jekyll::Hooks.register :site, :post_write do |site|
Octopress::Ink::Plugins.static_files.each do |f|
f.write(site.dest)
end
+ Octopress::Ink::Cache.write
Octopress::Ink::Cache.clean
end
else
class SiteHook < Hooks::Site
def reset(site)
@@ -50,9 +51,10 @@
def post_write(site)
Octopress::Ink::Plugins.static_files.each do |f|
f.write(site.dest)
end
+ Octopress::Ink::Cache.write
Octopress::Ink::Cache.clean
end
end
end
end