mirror of
https://github.com/getzola/zola
synced 2024-11-10 06:14:19 +00:00
parent
5fe4590063
commit
ae7a65b51f
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
- Link checker will not try to validate email links anymore
|
||||
- Load table and footnote markdown extensions in `markdown` filter
|
||||
- `get_url` now defaults to not adding a trailing slash
|
||||
- Fix `--base-url` not overriding processed images URLs
|
||||
|
||||
## 0.4.2 (2018-09-03)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ pub fn build(config_file: &str, base_url: Option<&str>, output_dir: &str) -> Res
|
|||
let mut site = Site::new(env::current_dir().unwrap(), config_file)?;
|
||||
site.set_output_path(output_dir);
|
||||
if let Some(b) = base_url {
|
||||
site.config.base_url = b.to_string();
|
||||
site.set_base_url(b.to_string());
|
||||
}
|
||||
site.load()?;
|
||||
console::notify_site_size(&site);
|
||||
|
|
Loading…
Reference in a new issue