containers / containers/podman.io
[Bug]: Author name on blog cards doesn't redirect to the author page
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 188
- Avg merge
- 6d 22h
- Merged PRs (30d)
- 12
Description
### Consisely describe the issue
On the home page and features page, clicking an author's name on a blog card doesn't go to the author's profile, it just lands on https://blog.podman.io/author/ with no slug, which is a broken/generic URL.
The problem is in the WordPress REST API query. The **_fields** parameter doesn't include author, and it turns out the **author_info** field depends on author being present in the request to correctly build the author URL slug.
### Upload screenshots or screen recordings
https://github.com/user-attachments/assets/704f56c5-d50d-4ed0-8db7-ef650106c9ba
### LLM Policy
- [x] This issue is human-written, and folow up comments will also be human-written
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect the WordPress REST API query used to populate blog cards on the home and features pages, focusing on its _fields parameter and the author_info field. Include the author data needed to build the slug, then verify that clicking an author name reaches the corresponding author profile rather than /author/.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, wordpress
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 75/100