Merge pull request #209 from steveklabnik/gh204

Print version: fix up header links
This commit is contained in:
Mathieu David 2017-02-20 16:12:00 +01:00 committed by GitHub
commit 58cfef00f2

View file

@ -139,7 +139,10 @@ impl Renderer for HtmlHandlebars {
// Render the handlebars template with the data
debug!("[*]: Render template");
let rendered = try!(handlebars.render("index", &data));
let rendered = build_header_links(rendered);
try!(book.write_file(Path::new("print").with_extension("html"), &rendered.into_bytes()));
info!("[*] Creating print.html ✓");