You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This explains some pages unexpectedly rendering without templates I've been seeing recently.
I can see pros and cons for this and probably depends on developer's philosophy. Could we make the behaviour a system toggle? Or standardise a YAML property like fallback_template into themes going forward?
A page referencing a non-existing template is, IMHO, an unexpected runtime exception. The developer should be notified about this exception.
This issue of non-existing templates could easily be caused by novice users evaluating different themes.
Since commit Added default templates in Grav itself #9880ce (18 Sep 2020), the exception has been silenced by using the theme's
default
ormodular/default
templates instead.I think this is a less then optimal handling of exceptions.
I also don't see a use-case in which silencing the exception is deliberately depended upon.
Alternatives for silencing I could think of:
The text was updated successfully, but these errors were encountered: