I am testing it on the local host. The related-posts template is working fine as you can see on https://recipes.instantpot.com/recipe/french-onion-soup/
But that is displaying it using tag. I want to use the same template but by using author name rather than tags.
I have the css. I just need to know how to place the images in a grid format.