Skip to content

Equivalent of Node.js' path.relative #13187

Open
@rnwst

Description

@rnwst

It would be convenient if Hugo's path functions included one that allowed us to make an absolute location relative to another absolute location, in the same way Node.js' path.relative function works. This could be called path.Rel, path.RelFromTo, path.Relative, or something along those lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions