|
@@ -103,8 +103,7 @@ class HugoConverter(Converter):
|
|
|
fname = "%s.md" % uid
|
|
|
fpath = self.args.out_md_dir / fname
|
|
|
self.changed_files.append(fpath)
|
|
|
- frontmatter = (
|
|
|
- dict(
|
|
|
+ frontmatter = dict(
|
|
|
key=uid,
|
|
|
title=talk.decoded("SUMMARY").decode("utf8"),
|
|
|
format="conference",
|
|
@@ -117,8 +116,7 @@ class HugoConverter(Converter):
|
|
|
).total_seconds()
|
|
|
// 60
|
|
|
),
|
|
|
- ),
|
|
|
- )
|
|
|
+ )
|
|
|
if "CATEGORIES" in talk:
|
|
|
frontmatter["tags"] = [str(t) for t in talk.get("CATEGORIES").cats]
|
|
|
else:
|