Copy relevant assets in case of colocation for section
This commit is contained in:
parent
8473dff23d
commit
15190962ba
|
@ -837,6 +837,12 @@ impl Site {
|
|||
}
|
||||
}
|
||||
|
||||
// Copy any asset we found previously into the same directory as the index.html
|
||||
for asset in §ion.assets {
|
||||
let asset_path = asset.as_path();
|
||||
copy(&asset_path, &output_path.join(asset_path.file_name().unwrap()))?;
|
||||
}
|
||||
|
||||
if render_pages {
|
||||
section
|
||||
.pages
|
||||
|
|
Loading…
Reference in a new issue