Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom base path for local files #520

Open
pmwmedia opened this issue Sep 8, 2022 · 0 comments
Open

Support custom base path for local files #520

pmwmedia opened this issue Sep 8, 2022 · 0 comments

Comments

@pmwmedia
Copy link

pmwmedia commented Sep 8, 2022

I use Hugo for generating my static HTML files. After the generation, I want to check all links. The peculiarity is that all internal links start with /v2 as base path. but stored locally in a folder named public.

Folder structure:

public/index.html      <-- internal link: /v2/
public/foo/index.html  <-- internal link: /v2/foo/
public/bar/index.html  <-- internal link: /v2/bar/

Now, I would like to tell linkinator via cli that it should map /v2/ to public/index.html, /v2/foo/ to public/foo/index.html and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant