Skip to content

Commit

Permalink
oops, bug squashed.
Browse files Browse the repository at this point in the history
  • Loading branch information
JCB-K committed Apr 12, 2012
1 parent 9b0a9e4 commit 7ba55dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions singlepage-jekyll.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 7ba55dd

Please sign in to comment.