current-pagenode in metas
#167
Closed
opened 7 years ago by jlorieau
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The 'here-path' string is included in the
metas
hash table. The 'here-path' is an absolute path. However, to use this path as a pagenode for querying against the current pagetree, the user must strip the path up to the current project directory, possibly change the extension and convert the string to a symbol.In this issue, I am suggesting adding a 'here-pagenode' or 'current-pagenode' entry in the
metas
hash table with a pagenode (symbol) for the current target pagenode.What’s the difference between
path->pagenode
and what you describe?Thanks for the note. I wasn't aware of this function, and it appears to workup the here-path nicely. A convenience entry in
metas
may still be useful to users, but the workup is fairly trivial withpage->pagenode
.