diff --git a/layout/book_index_template.html b/layout/book_index_template.html index 9afbf02e..e247b117 100644 --- a/layout/book_index_template.html +++ b/layout/book_index_template.html @@ -105,6 +105,18 @@

New to Git?

$('.footer').corner(); }); + + + + + diff --git a/layout/chapter_template.html b/layout/chapter_template.html index ce8584b9..ee59c1d9 100644 --- a/layout/chapter_template.html +++ b/layout/chapter_template.html @@ -49,5 +49,13 @@ + + + + diff --git a/script/html.rb b/script/html.rb index bd3e1e61..4c59a33f 100644 --- a/script/html.rb +++ b/script/html.rb @@ -158,6 +158,7 @@ def do_replacements(html, type = :html) end `cp -Rf assets output/book/` + `cp output/book.pdf output/book/` end end diff --git a/script/pdf.rb b/script/pdf.rb index dde63214..3b01e81b 100644 --- a/script/pdf.rb +++ b/script/pdf.rb @@ -4,9 +4,9 @@ html_string = File.new("output/index.html").read prince.add_style_sheets 'layout/second.css', 'layout/mac_classic.css' - File.open('output/book/book.pdf', 'w') do |f| + File.open('output/book.pdf', 'w') do |f| f.puts prince.pdf_from_string(html_string) end - `open output/book/book.pdf` + `open output/book.pdf` end