Closed fklappan closed 3 years ago
arg sorry, nevermind...
The #+DATE: [2020-07-12 So 21:52]
directive is necessary.
Could be added to the getting started guide.
The simple (unthemed) export now works.
Hi @fklappan thanks for reporting this issue ππΎ I'm very glad that you worked around this issue but I think this still counts as a bug on weblorg π sorry about that! that field shouldn't exactly be required for the rendering to work. I guess this is an issue on the default template itself. it should test if the date field is present before trying to convert it. (one could also see that as an issue with the date function itself, but I feel like reporting that kind of error might be wanted in case the data is coming from any other data source that isn't exactly the org file). I'll be back with a fix! π
This should be enough to fix it https://github.com/emacs-love/weblorg/commit/ffea6a93f5d35fed8532f1187463a27eb46bff0a. I'll close this bug but please feel free to re-open it or open a new one if this change isn't enough! thanks for taking the time to bring this up, really appreciate it ππΎ
I'm using the publish.el template from the "getting started" guide from the homepage with minimal changes because the
require
directive alone was not enough.The contents of the /pages and /posts directories are two simple org files with content like
after calling
emacs --script publish.el
i get the error messageInvalid time specification
I tried it on two different Windows 10 machines and one Manjaro machine. Someone has an idea what could be wrong?