diff options
author | Eric Huss <eric@huss.org> | 2020-12-28 09:22:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 09:22:11 -0800 |
commit | a64a7b747080dc3cbc9d57aab36d83e609444020 (patch) | |
tree | bec93e9107a3454cabab186e6dad79f71a80670a /src | |
parent | a3d4febe3e67895af4e2619c3005b649b2f5aa2b (diff) | |
parent | fd4137a9eaa8a5bb0ccae0bef9a3da94418eb011 (diff) |
Merge pull request #1405 from francis-du/master
fix: readerer get theme dir path bug
Diffstat (limited to 'src')
-rw-r--r-- | src/renderer/html_handlebars/hbs_renderer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 918ec29e..6ac5985b 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -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"), }; |