Blog article to open in modal

Hi there,

I got a blog section working who opens posts into another page, all good for now. My question is if I could make it open the article in a model inside the blog page instead of opening another page.

I’ve made a visual of what I’m trying to do:

I’m pretty sure nothing on the Kirby side will prevent you form implementing something like this.
The question is how you want to tackle this specific problem and what kind of functionalities you want/need.

This is mostly a JS problem I think.

Yes, that’s a JS thing and you need a content representation rather than a full template because you don’t want to load the header and footer into your modal. The other and more important question is how useful this is for the reader and how you make it fully accessible.