Skip to content

eleventyNavigationToHtml ignores --pathprefix value #56

Open
@JensGabe

Description

@JensGabe

When using the --pathprefix command line argument together with the url filter ensures that the paths are prefixed as requested.

The eleventyNavigationToHtml simply ignores this value because of the following code:

if(eleventyConfig.pathPrefix !== undefined) {
	return function(url) {
		return url;
	};
}

I do not know if the !== is a typo, or I'm missing something in regarding how to get the pathprefix command line argument redirected into the navigation filter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions