Error when trying to convert .md files into .html
jeremyfritzen opened this issue · 1 comments
jeremyfritzen commented
Hi Vitalik!
Thanks for this very simple project.
I just forked your project.
On Linux Mint (with apache2, pandoc and rsync installed), I run the following command to make a test:
./publish.py posts/hello.md
But then, this is what I got:
Processing file: hello.md
Path selected: posts/2020/10/24/hello.html
Detected categories: general
Traceback (most recent call last):
File "./publish.py", line 302, in <module>
feed = generate_feed(global_config, sorted_metadatas)
File "./publish.py", line 187, in generate_feed
link=get_link(''),
File "./publish.py", line 171, in get_link
return global_config['domain'] + "/" + route
KeyError: 'domain'
Do you have any idea why and how to fix it?
Thanks a lot!
jeremyfritzen commented
Sorry, I think it actually worked as expected.
The generated html file is in ./site/posts/ folder.