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

config: enable disablePathToLower to fix #43 #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KexyBiscuit
Copy link
Member

@KexyBiscuit KexyBiscuit added the bug Something isn't working label Dec 1, 2021
@KexyBiscuit KexyBiscuit self-assigned this Dec 1, 2021
@netlify
Copy link

netlify bot commented Dec 1, 2021

✔️ Deploy Preview for aosc-portal ready!

🔨 Explore the source changes: 1000bd9

🔍 Inspect the deploy log: https://app.netlify.com/sites/aosc-portal/deploys/61a7c66e2d90930009dddac2

😎 Browse the preview: https://deploy-preview-44--aosc-portal.netlify.app

@liushuyu
Copy link
Member

The "proper fix" would be renaming the link targets, which was failed due to Hugo's front-matter format change. Will do a clean-up in a bit.

@KexyBiscuit
Copy link
Member Author

@liushuyu I'm not familiar with Hugo, feel free to close this.

@liushuyu
Copy link
Member

@liushuyu I'm not familiar with Hugo, feel free to close this.

You can't be "familiar" with Hugo so to speak. It changes behavior every few versions, so let's just roll with it.

@Tenktau
Copy link
Member

Tenktau commented May 10, 2023

I think another way is to delete this property as shown in the image, after doing that, the automatically generated redirect links will not automatically be lowercased.Meanwhile, by doing that, we don't have to enable the global "disablePathToLower".

image

After all, the username we asked to fill in the people.yml also needs to conform to GitHub naming rules, so we may don't need hugo's urlize function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: 🤔 To-Do
Development

Successfully merging this pull request may close these issues.

None yet

3 participants