|
@@ -136,8 +136,8 @@ class HugoConverter(Converter):
|
|
|
if "CATEGORIES" in talk:
|
|
|
try:
|
|
|
vobject = talk.get("CATEGORIES")
|
|
|
- if hasattr(vobject, 'cats'):
|
|
|
- vobject = vobject.cat
|
|
|
+ if hasattr(vobject, "cats"):
|
|
|
+ vobject = vobject.cats
|
|
|
frontmatter["tags"] = [str(t) for t in vobject]
|
|
|
else:
|
|
|
frontmatter["tags"] = [str(vobject)]
|