inglese che palle

This commit is contained in:
boyska 2021-08-19 18:41:57 +02:00
parent ce36c364eb
commit ef4707c28d

View file

@ -130,7 +130,7 @@ class HugoConverter(Converter):
except Exception as exc: except Exception as exc:
logging.warning("Error parsing categories: %s", str(exc)) logging.warning("Error parsing categories: %s", str(exc))
if 'base' in frontmatter['tags']: if 'base' in frontmatter['tags']:
frontmatter['level'] = 'Principiante' frontmatter['level'] = 'beginner'
with open(str(fpath), "w") as buf: with open(str(fpath), "w") as buf:
buf.write("---\n") buf.write("---\n")
yaml.safe_dump(frontmatter, buf) yaml.safe_dump(frontmatter, buf)