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 Mar 8, 2021
1 parent 2506594 commit 796a76c
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 796a76c

Please sign in to comment.