diff --git a/posts.py b/posts.py index 444e3228..507448e7 100644 --- a/posts.py +++ b/posts.py @@ -1239,6 +1239,8 @@ def createBlogPost(baseDir: str, citations = f.readlines() for line in citations: sections = line.strip().split(citationsSeparator) + if len(sections) != 3: + continue dateStr = sections[0] title = sections[1] link = sections[2]