Skip to content

Commit

Permalink
Merge pull request #1405 from francis-du/master
Browse files Browse the repository at this point in the history
fix: readerer get theme dir path bug
  • Loading branch information
ehuss authored Dec 28, 2020
2 parents a3d4feb + fd4137a commit a64a7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/html_handlebars/hbs_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
};

Expand Down

0 comments on commit a64a7b7

Please sign in to comment.