Best way for dynamic-like pages?

Hey all, I'm just trying to setup some dynamic pages but with an option to keep the filament top navbar.

I tried the following but it seems to strip away all of filament and just render the entire page with that view.
render() on a item from getPages()


I currently have a custom page model which has a html attribute which I am rendering manually and using RenderHooks to show my custom header and footer on filament which is working well except I cannot find a way for custom pages to keep OR disable the filament navbar.

Would be helpful if someone can point me in the right direction!

Desired Result:

  MyHeader <- done
    Filament
      CustomPageContent <- not done, cannot get filament to stay on render
    EndFilament
  MyFooter <- done
Was this page helpful?