parent
89b9f7b284
commit
93a16cb7e2
12 changed files with 130 additions and 135 deletions
|
@ -494,14 +494,7 @@ pub(super) fn write_shared(
|
|||
})
|
||||
.collect::<String>()
|
||||
);
|
||||
let v = layout::render(
|
||||
&cx.shared.templates,
|
||||
&cx.shared.layout,
|
||||
&page,
|
||||
"",
|
||||
content,
|
||||
&cx.shared.style_files,
|
||||
);
|
||||
let v = layout::render(&cx.shared.layout, &page, "", content, &cx.shared.style_files);
|
||||
cx.shared.fs.write(dst, v)?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue