Here’s a test site. Try it.
git clone --single-branch -b hugo-forum-topic-57011 https://github.com/jmooring/hugo-testing hugo-forum-topic-57011
cd hugo-forum-topic-57011
hugo server
The template code is in layouts/home.html, lines 13-28.
There must be something different about your setup, data structure, etc. If you can’t figure it out you’ll need to provide a link to the public repository for your project.
See Requesting Help.
Let us see your code
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.