Merge pull request #1405 from francis-du/master

fix: readerer get theme dir path bug
This commit is contained in:
Eric Huss 2020-12-28 09:22:11 -08:00 committed by GitHub
commit a64a7b7470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"),
};