I’m using the Ruby theme, and I’d like to adjust how the cards are being displayed on the front page, which I expected to find in index.hbs
template, instead its just a loop over the posts. While the posts.hbs
file is the template for posts that have been clicked on.
How do I modify the way in which it’s rendered at the index?
-
Would like to see the tag data on the same line as the title data. So it would look something like “Google - Is Chromebook Still a Thing”, in this example.
-
The way in which the post images get resized for this “baseball card” post, sometimes isn’t ideal. In the example I’m working with, it tends to crop faces. I think it’s cropping/aligning the image from the bottom going upwards, rather than centering it. My guess is the solution is somewhere in here: How To Scale and Crop Images with CSS object-fit | DigitalOcean .