feat: add bibtex input handling

This commit is contained in:
Nolann 2022-11-04 09:50:43 +01:00
parent 14c99d4998
commit 4df0438e0f

View file

@ -745,7 +745,7 @@ func checkCitationFile(ctx *context.Context, entry *git.TreeEntry) {
return
}
for _, entry := range allEntries {
if entry.Name() == "CITATION.cff" {
if entry.Name() == "CITATION.cff" || entry.Name() == "CITATION.bib" {
ctx.Data["CitiationExist"] = true
// Read Citation file contents
blob := entry.Blob()