Changed prints a bit
This commit is contained in:
parent
316ec09319
commit
dd9d500f9d
@ -115,6 +115,11 @@ pub fn build(logger: &Logger, opt: &Opt, _: &BuildOpt) -> Result<(), Error> {
|
||||
);
|
||||
let rendered = page_template.render(&data);
|
||||
renders.push(rendered);
|
||||
|
||||
logger.log(
|
||||
LogLevel::DETAIL,
|
||||
format!("Rendered {}", config.page_config.page.html_path),
|
||||
);
|
||||
}
|
||||
|
||||
logger.log(LogLevel::INFO, "Writing");
|
||||
@ -129,7 +134,7 @@ pub fn build(logger: &Logger, opt: &Opt, _: &BuildOpt) -> Result<(), Error> {
|
||||
.output
|
||||
.unwrap_or("public".to_owned()),
|
||||
);
|
||||
logger.log(LogLevel::DETAILER, format!("Writing {:?}", html_path));
|
||||
logger.log(LogLevel::DETAIL, format!("Writing {:?}", html_path));
|
||||
if let Some(render) = renders.get(idx) {
|
||||
file_writer::write_file(&html_path, render.clone(), opt.overwrite)?;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user