Render content to dynamic layout programmatically from shape override
I want to add LayoutPart to BlogPost content type. But as you know content of blog post would not be rendered in layout, so i decided to override shape of blogpost. What i need is to render layout and put blogpost content inside of it. Is there a way to do that programmatically?
Thanks for any help.