I have a bunch of notes that I want to pass to a blog designed especially for working with notes and wikilinks - but I would first need to do some YAML frontmatter code treatment of my own. I tried to do it manually, but it is too much work. Does anyone know how I can do this automatically?
for i in os.walk('your_folder'):
with open(i, "r+") as f:
lines = f.readlines()
f.write("---\ntitle : \nfeed: show (or hide if I dont want to show on website)\ndate : DD-MM-YYYY\n---\n")