Skip to content

Fails on root-relative paths #5

@itslevo

Description

@itslevo

File lookup fails in case the revisioned file is located in a parallel directory to the source file and the url is root-relative:
/css/revisioned_file.css
/includes/source_file.html <-- Link in source file is src="/css/revisioned_file.css"

The plugin fails to locate the .css file relative to the .html file. Changing link to src="../css/revisioned_file.css/" works, but isn't ideal.
Perhaps, an option to specify "base" directory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions