mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 14:22:35 +00:00
Merge pull request #1405 from francis-du/master
fix: readerer get theme dir path bug
This commit is contained in:
commit
a64a7b7470
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ impl Renderer for HtmlHandlebars {
|
|||
let mut handlebars = Handlebars::new();
|
||||
|
||||
let theme_dir = match html_config.theme {
|
||||
Some(ref theme) => theme.to_path_buf(),
|
||||
Some(ref theme) => ctx.root.join(theme),
|
||||
None => ctx.root.join("theme"),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue