Skip to content

Commit

Permalink
Applied patch for #5
Browse files Browse the repository at this point in the history
  • Loading branch information
darsnack committed Dec 26, 2020
1 parent ad46c6c commit 5e242fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function loadtheme(tree::FileTree, env::AbstractDict)
isfile(file) || error("'$theme' theme does not exist.")
end
dict = TOML.parsefile(string(file))
env = rmerge(env, Dict("publish" => dict))
env = rmerge(Dict("publish" => dict), env)
tree′ = FileTree(dirname(file))
tree′ = FileTrees.load(tree′; lazy=LAZY[]) do file
loadfile(env, joinpath(basename(tree′), path(file)))
Expand Down

0 comments on commit 5e242fe

Please sign in to comment.