A slice with content relationship that can adapt to different kinds

I'm not sure how to explain this I hope i will be clear, i have made an image to represent what I'm trying to do

in my homepage I will have 3 sections
each section have a similar layout

  • image
  • title
  • description

before I was thinking just make 3 different slices but they look almost identical I understand that is the point of slices that I don't have to repeat my self, what I'm confused about is, since work section will be a content relationship to a project type and journal section is a content relationship to journal type and partner section is a content relationship to partner type, how I'm going to fetch this since their type is different,

or better make a slice without content relationship and inside each page journal work etc... fetch from the homepage instead of the homepage fetching from those types ?

Hi @eloquentpeasant,

Welcome to the community!

I think I understand what you mean, but let me know if I'm way off :slight_smile:. You're right that if the slices are going to be almost identical, you wouldn't want to have 3 different custom types. The best way to go in my opinion is to make one custom type with this structure you've shown, and then use slice variations for different content relationships. This would allow you to limit repetition of the same custom type, but keep them populated by different data via content relationships.

Let me know if you try this out and how it ends up working for you!