Skip to content

Commit a64a7b7

Browse files
authored
Merge pull request #1405 from francis-du/master
fix: readerer get theme dir path bug
2 parents a3d4feb + fd4137a commit a64a7b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/html_handlebars/hbs_renderer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ impl Renderer for HtmlHandlebars {
452452
let mut handlebars = Handlebars::new();
453453

454454
let theme_dir = match html_config.theme {
455-
Some(ref theme) => theme.to_path_buf(),
455+
Some(ref theme) => ctx.root.join(theme),
456456
None => ctx.root.join("theme"),
457457
};
458458

0 commit comments

Comments
 (0)