To view the HTML content on the page layout, go into the page layout itself, and preview it there. The system pulls in the required variables (such as the page ID and the Content IDs) that you have associated with the template. This lets you successfully preview the content on a PageBuilder page.