Print version: fix up header links

This commit is contained in:
Steve Klabnik 2017-02-20 09:28:49 -05:00
parent ec42e2f771
commit 6af3eea24b
1 changed files with 3 additions and 0 deletions

View File

@ -138,7 +138,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 ✓");