|
@@ -124,7 +124,9 @@ class HugoConverter(Converter):
|
|
|
vobject = talk.get("CATEGORIES")
|
|
|
if hasattr(vobject, 'cats'):
|
|
|
vobject = vobject.cat
|
|
|
- frontmatter["tags"] = [str(t) for t in vobject]
|
|
|
+ frontmatter["tags"] = [str(t) for t in vobject]
|
|
|
+ else:
|
|
|
+ frontmatter["tags"] = [str(vobject)]
|
|
|
except Exception as exc:
|
|
|
logging.warning("Error parsing categories: %s", str(exc))
|
|
|
if 'base' in frontmatter['tags']:
|