diff --git a/src/generate.jl b/src/generate.jl index 2c31268..f6dbe6d 100644 --- a/src/generate.jl +++ b/src/generate.jl @@ -216,7 +216,7 @@ function gen_readme(pkg_dir::AbstractString, t::Template) "\n", ) end - if haskey(p.plugins, Citation) && p.plugins[Citation].readme_section + if haskey(t.plugins, Citation) && p.plugins[Citation].readme_section text *= "## Citing\n\nSee `CITATION.bib` for the relevant reference(s)\n" end