fix: readerer get theme dir path bug

This commit is contained in:
francis-du 2020-12-20 01:36:58 +08:00 committed by Eric Huss
parent a3d4febe3e
commit fd4137a9ea
1 changed files with 1 additions and 1 deletions

View File

@ -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"),
};