Hello,
Re:
Creating a dynamic page with layout page content
Answer: You can use Database for store the basic HTML and Javascript content of dynamic page and load the content as partial view on main page. Added Layout on main page.
Step: 1 Save your dynamic page basic structure into Database table.
Step: 2 Create a blank page for add the dynamic content. It should be shared page.
Step: 3 Added you layout on shared page.
Step: 4 When you create a new page. Take dynamic page contents from Database and plotted on shared page.
Please ask freely if you have any question on it.