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

Restore ability to specify shorter page URLs #71

Open
BlueSlug opened this issue Mar 17, 2022 · 0 comments
Open

Restore ability to specify shorter page URLs #71

BlueSlug opened this issue Mar 17, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@BlueSlug
Copy link
Member

BlueSlug commented Mar 17, 2022

Is your feature request related to a problem?

As page URLs are currently based on the page title (as defined in each page's front matter), some URLs are rather long.

For example:
https://handbook.floeproject.org/perspectives/if-you-are-unique-and-arent-we-all-numbers-are-not-our-friends/

Describe the solution you'd like

A way to specify a shorter URL name (as was previously available before the 1.0.0 release) would allow content authors to use long titles without worrying about long and difficult to remember URLs.

The slug front matter field (currently unused) may be appropriate here, or some other solution. Any solution should be sure to work without breaking the localization functionality.

Describe alternative solutions you've considered

Another solution (which may actually be preferable) is to refer to the fileSlug value in the permalink generation rather than slug

Additional context or notes

N/A

@BlueSlug BlueSlug added bug Something isn't working enhancement New feature or request labels Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant