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

Allow using only a fileSlug in inputpath-to-url, in addition to full path #3161

Open
nhoizey opened this issue Jan 11, 2024 · 0 comments
Open

Comments

@nhoizey
Copy link
Contributor

nhoizey commented Jan 11, 2024

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

https://www.11ty.dev/docs/plugins/inputpath-to-url/ is a great addition to Eleventy features.

Would it be possible to enhance it to be able to use only the fileSlug in the link, instead of the full path, if we are sure there’s only one such fileSlug?

That's what this plugin provides: https://github.com/nhoizey/eleventy-plugin-link_to

Describe alternatives you've considered

No response

Additional context

No response

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

No branches or pull requests

1 participant