Closed jave closed 4 years ago
Some more debugging seems to indicate that the "page" slot is not filled at the time of export. It is filled later though.
It seems to me that this is a genuine bug, and if it is, its pretty easy to replicate. Just export the sample file to a clean directory, and observe that blog entries are written properly, but not pages. So there wont be a index.html for instance.
Ok can you please rollback to a known working version for the moment? I am a bit busy this week.
Thanks
@jave Seems to be similar (if not equal) to the issue #125 I'm experiencing
this hacky patch seems to make a difference. try it at your own risk.
The "page" field isnt set when the "htmlfile" field is computed, so this patch goes to extra length to set the path info again, after it shouldve already been set. Brief testing gives me at least an index.html file.
diff --git a/lisp/o-blog-backend.el b/lisp/o-blog-backend.el index 2b20f67..55c53bf 100644 --- a/lisp/o-blog-backend.el +++ b/lisp/o-blog-backend.el @@ -73,10 +73,23 @@ Some global variables are set: (funcall (ob:get-backend-function type :find-files) self)) (ob:profile "Parse config"
)
(ob:profile "Compute tags"
my workaround has been working well for a while. Just a heads up. (its obviously not good enough as is though)
Can you please have a look at new v2.5 branch?
in v2.5.
so for some reason a snippet like this:
gets to have the filename ".html" all of a sudden.
I tried debugging it for a bit but couldnt figure out why.