Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

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
Contributor

@KexyBiscuit KexyBiscuit added the bug Something isn't working label Dec 1, 2021
@KexyBiscuit KexyBiscuit requested a review from liushuyu December 1, 2021 19:01
@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
Collaborator

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
Contributor Author

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

@liushuyu
Copy link
Collaborator

@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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants