Fix hardcoded min suffix for MM:SS video durations in UI
help wantedkind/buglanguage/javascriptlanguage/cssframework/hugo
### Current Behavior
<!-- A brief description of the issue. -->
The video duration value is displayed with a hardcoded ` min` suffix in `layouts/partials/video-landing-page.html`. When the duration is provided in `MM:SS` format (e.g., `"0:16"`), the UI renders it incorrectly as:
- `0:16 min`
This creates a confusing and inconsistent duration label for users.
### Expected Behavior
<!-- A brief description of what you expected to happen. -->
The UI should correctly display video durations instead of always appending a hardcoded ` min` suffix.
Examples:
- `0:16` → displayed as `0:16`
### Screenshots/Logs
<!-- Add screenshots, if applicable, to help explain your problem. -->
<img width="1247" height="723" alt="Image" src="https://github.com/user-attachments/assets/483012cd-39e5-4a8c-b696-adf83cd7586a" />
Asked by Gemini on one of my PRs, which got my attention that yeah we gotta fix this
<img width="989" height="863" alt="Image" src="https://github.com/user-attachments/assets/67637d1f-bfa8-4903-8619-3978a2025b06" />
### Environment
- **Host OS:** Mac Linux Windows
- **Browser:** Chrome Safari Firefox Edge Opera
<!-- Optional
#### To Reproduce
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
-->
---
#### Contributor Guide and Resources
- 📚 [Instructions for contributing to documentation](https://github.com/layer5io/docs/blob/master/CONTRIBUTING.md)
- Layer5 documentation [site](https://docs.layer5.io) and [source](https://github.com/layer5io/docs/)
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/GvB8SudhEOoq3JOvoLaoMs)
- 🙋🏾🙋🏼 Questions: [Layer5 Discussion Forum](https://discuss.layer5.io) and [Layer5 Community Slack](http://slack.layer5.io)
1 条评论