Closed RDMelamed closed 4 years ago
Can you not tell Hugo to ignore your temporary Emacs files by adding them to Hugo's ignoreFiles
in config.toml
?
Yes you can, but the problem is I had no idea that was the problem because of the uninformative error message and basically reconstructed my whole site before finding it.
This error can occur when Hugo fails to load a Markdown page in Academic. We can improve the error message here but it has its limitations as Hugo does not currently provide much useful info in its error messages, although I understand Hugo team have an issue open to improve that. Also, Hugo generally doesn't play well with temporary editor files at the moment, another upstream issue.
Describe the bug
A clear and concise description of what the bug is.
Bad error message when Emacs auto-saves a file (ie, .#_index.md -> melamed@Rachels-Air-2.home.56 ). The error message comes up when you start the server and does not help locate the problem:
To Reproduce
Steps to reproduce the behavior (on the exampleSite):
Expected behavior
A more clear error message about what the problem is, or perhaps learn to ignore these emacs files.
Technical details: