org-jekyll icon indicating copy to clipboard operation
org-jekyll copied to clipboard

Ignore children in subtree

Open XiaoLiuAI opened this issue 10 years ago • 0 comments

Hello

I am attracted by the idea of exporting subtree in a org file, which is presented in your package. However, I found that it only export the content of the entry and the title of the sub-entries. The contents of the sub-entries are totally ignored. However, when I export entry using org-jekyll-export-current-entry, the contents are correctly exported.

I have solved this problem by modifying the line

(org-map-entries (lambda () (org-jekyll-export-entry project))
                 "blog|BLOG"))))

to

(org-map-entries (lambda () (org-show-subtree) (org-jekyll-export-entry project))
                 "blog|BLOG"))))

It seems the command (org-content) only return the table of content (folding the content) and the (org-map-entires) would not automatically expand the entry to the function.

With kind regards

XiaoLiuAI avatar Oct 29 '14 15:10 XiaoLiuAI