Hello there,
i have build a one-pager and have a question regarding the preview option:
The preview option in the panel will render the preview using the default template for example like this: root/mysite/some-sub-site
But because I have build an one-page layout i just have a ‘home.php’ template and the ‘default.php’. Everything else is build using snippets. If I want to preview my written content the panel will send me on a page, rendered by the ‘default.php’ template and thus the preview is incorrect.
What is the proper way to get the preview feature to work for a one-pager?
Thank you