parent
5fe4590063
commit
ae7a65b51f
|
@ -9,6 +9,7 @@
|
||||||
- Link checker will not try to validate email links anymore
|
- Link checker will not try to validate email links anymore
|
||||||
- Load table and footnote markdown extensions in `markdown` filter
|
- Load table and footnote markdown extensions in `markdown` filter
|
||||||
- `get_url` now defaults to not adding a trailing slash
|
- `get_url` now defaults to not adding a trailing slash
|
||||||
|
- Fix `--base-url` not overriding processed images URLs
|
||||||
|
|
||||||
## 0.4.2 (2018-09-03)
|
## 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)?;
|
let mut site = Site::new(env::current_dir().unwrap(), config_file)?;
|
||||||
site.set_output_path(output_dir);
|
site.set_output_path(output_dir);
|
||||||
if let Some(b) = base_url {
|
if let Some(b) = base_url {
|
||||||
site.config.base_url = b.to_string();
|
site.set_base_url(b.to_string());
|
||||||
}
|
}
|
||||||
site.load()?;
|
site.load()?;
|
||||||
console::notify_site_size(&site);
|
console::notify_site_size(&site);
|
||||||
|
|
Loading…
Reference in a new issue