Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize org-hugo--get-post-subtree-coordinates based on #49
- If the current subtree has a parent heading, run org-map-entries only within that subtree (scope option set to 'tree). - Loop only through headings that are at the same level as the current subtree, and have the EXPORT_FILE_NAME property set. - Require the subtree argument to be present and always be a valid Hugo post subtree. Update the docstring too. - Rename let-bound variable entry to subtree in org-hugo-export-subtree-to-md #clarity - Calculate subtree coordinates only if HUGO_MENU prop is defined.
- Loading branch information
1 parent
ede8f47
commit 359e4ac
Showing
1 changed file
with
39 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters