Reuse and customize Phoenix layouts

Hi all,

I have a Phoenix library L which is used by many projects P1, P2Pn

In L I have defined a Layout Components which define more or less the page structure every P use, for example, the footer is defined in it.

Now I have one P that needs a customized footer. What’s the preferred way to pass data to a Layout Component so I can make it customizable?

Thanks a lot