Permalink
Browse files

oops, bug squashed.

  • Loading branch information...
1 parent 9b0a9e4 commit 7ba55ddf14a8d37e46fb7b00337f51bfcb868c71 @JCB-K committed Apr 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 singlepage-jekyll.rb
View
@@ -3,8 +3,8 @@
require 'rubygems'
require 'json'
-files = Dir.chdir('.') do
- Dir.glob('*.html').map{ |f| f.chomp('.html') }
+files = Dir.chdir('_site') do
+ Dir.glob('**/*.html').map{ |f| f.chomp('.html') }
end
File.open("html.json","w") do |f|

0 comments on commit 7ba55dd

Please sign in to comment.