matcornic / matcornic/hugo-theme-learn
SLUG don't work in chapter or page sub chapter
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.6k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
hi,
i will use SLUG for custom my URL but it doesn't work when my page is a chapter (_index.md) or a sub chapter (Folder/_index.md). it works for page only.
[https://zupimages.net/viewer.php?id=21/30/ak2k.png](url)
Could you help me ?
Thanks for your work
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the URL behavior in Hugo with a page using a slug, then compare it with a chapter (_index.md) and a subchapter (Folder/_index.md). Identify why the slug works for a page but not for either chapter type; done means custom URLs work consistently for pages, chapters, and subchapters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- hugo
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100