content
content copied to clipboard
feat: using _path from front-matter to overwrite default path
🔗 Linked issue
❓ Type of change
Reference _path from front-matter that user can overwrite url path inside markdown file.
- [ ] 📖 Documentation (updates to the documentation or readme)
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
- [x] 👌 Enhancement (improving an existing functionality like performance)
- [ ] ✨ New feature (a non-breaking change that adds functionality)
- [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)
📚 Description
During the path-meta transformer generatePath is using slugify to auto-generate path from file name, but when I use file that including Japanese name, slugify will remove it, that will result to an incorrect url path.
📝 Checklist
- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.