Community forum for knowledge and support

Updated 9 months ago

Displaying Blog Posts in a CMS Collection

At a glance

I am confused about converting blog sections into CMS collections, so that they can display blog posts in the normal manner, and can also link to the blog post itself when you click inside the collection cell. I have been assuming I should do this by converting the divs containing the blog information (the photo, the header, the description, etc, as in Blog 38.) into link sections. But I keep getting the error message "link elements cannot be nested inside each other". The problem is I can't find the original link section? Where should I look on the navigator to find it? Or where is the documentation on this? I am finding I have to rebuild the CMS collection from stratch even though I know Relume has already figured this out.

Pictured is the type of block I would like to A) display blog information as in a normal CMS collection and B) link to the individual blog page

N
P
M
3 comments

You can't have a link inside of another link.

So, you can either turn the whole card into a link block.
Or, you can link Read More.

If that's not clear, feel free to DM me, I have some time in the next hour or so.

Thank you for responding --- what I con't understand is why I get the message "you can't nest a link in a link" (or whatever) when I try to turn to card into a link block. It seems to think it is already a link straight out of Relume.

the "read more" is a link. As is the "category" in your screenshots.

If you turn the category link into a div, and turn the read more link into a div, and then turn the card into a link block, you should be fine. Biggest thing you'll lose from doing this is linking to categories, but that might not matter in some cases - maybe you can have a list of categories above the list of blog posts or something. So then the category tag becomes purely informational.

Add a reply
Sign up and join the conversation on Slack