-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview templates are not rendering #2978
Comments
Thanks a lot for helping @erquhart! Since you got this behavior I tried to create a new site instance on netlify (with a new url) and got the preview template to render as expected. However, on my original netlify site (old url), the preview template still doesn't render: Could this be cache related then? |
Were you guys able to work out what the issue was? It's looking like I am running into the same issue.. |
Maybe a serviceworker or aggressive caching causing some trouble? Try clearing your cache settings and unregistering any active serviceworkers |
Hi @tapjay, can you share your repo? If not a |
@tomrutgers I tried doing that again - same result I'm afraid. @erezrokah Unfortunately I can't share the repo as it is for a client but I am not creating any custom previews. It is just using the Gatsby Netlify template with a subset of what was originally inside the In fact, when I try to view the preview of the index page now, I get the following error in the preview panel: |
Found some new info for my initial issue. My preview templates were not updating because I couldn't login on my local netlifycms. Since I was using github auth, I was redirected to the live I got my preview templates to behave correctly by using email authentification and the |
Is this the template you're using https://github.com/netlify-templates/gatsby-starter-netlify-cms? I can see the index page with the latest version of the starter: |
The preview template probably doesn't match the data defined in |
Closing as the initial issue seems to be resolved. Please open a new issue with relevant information if still happening |
Describe the bug
Preview templates are not registered/rendering in the content manager. No error is the console or in the manager suggests that the templates are not even registered.
This issue has been experienced by myself in the repo eav-vaud/eav-vd.ch and by @tonyjmartinez in the repo tonyjmartinez/fromwaydowntown
To Reproduce
Try to register a template using the same method as in the Gatsby + Netlify CMS Starter.
Expected behavior
Preview template should render or at least show an error.
Applicable Versions:
CMS configuration
config.yml
Additional context
This issue was discussed in the Netlify CMS Slack and @erquhart suggested we open an issue.
The text was updated successfully, but these errors were encountered: