-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No output when using link-to-original (HTML) in template #473
Comments
Yihaa, thank you for reporting me this issue and to let me improve Yarle! |
Hi @bpape0 , Thank you for reporting this issue! You're right, the root cause is the missing resourceDir, but I'm not sure how your config takes effect on the folder creation So, therefore I would like to ask you tosend me your config file (at the beginning of the logs). |
Some extra details I discovered. Prerequisites for the bug:
Bug: yarle's Mitigations: Fyi: setting both to true does not work, because it behaves the same as
Fyi: setting both to false does work, because it behaves the same as
Fyi: to make the link-to-original be a link in frontmatter, I had to wrap
|
Another part to this bug. The resources folder is only created once a note is processed that has a resource. So if you have a most recent note without a resource (img / attachment /...),
because the resources folder is only created when it is needed for the first resource. So if you use workaround (B): |
yarle v5.1.0
Problem:
When using the {link-to-original} (inside of a {link-to-original-block} block), yarle is not creating any output files.
typical log entry
root cause
The issue (as implied by the error message) is that yarle is not creating the resources directory (as specified by the
resourcesDir
configuration directive in the yarle config.json file) prior to attempting to create the .html output.mitigation
The text was updated successfully, but these errors were encountered: