path->pagenode returns incorrect path if starting-path is an immediate relative filename #241

Closed
opened 3 years ago by stschmid · 1 comments
stschmid commented 3 years ago (Migrated from github.com)
> (path->pagenode "assets" 'index.html)
'../assets

(dirname path) (respectively (split-path path)) returns 'relative for an immediate relative filename.
(path->pagenode p [starting-path]) should return p if (eq? starting-dir 'relative).

``` > (path->pagenode "assets" 'index.html) '../assets ``` `(dirname path)` (respectively `(split-path path)`) returns `'relative` for an immediate relative filename. `(path->pagenode p [starting-path])` should return `p` if `(eq? starting-dir 'relative)`.
mbutterick commented 3 years ago (Migrated from github.com)

Thanks!

Thanks!
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#241
Loading…
There is no content yet.