[Craft 4] Change order of defaultTemplateExtensions #11809
-
Craft 4 uses It would make sense to change the order to look them up first: https://github.com/craftcms/cms/blob/main/src/config/GeneralConfig.php#L814 public array $defaultTemplateExtensions = ['twig', 'html']; |
Beta Was this translation helpful? Give feedback.
Answered by
brandonkelly
Aug 23, 2022
Replies: 1 comment 6 replies
-
Good point, however that could be a breaking change since if anyone has |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
brandonkelly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good point, however that could be a breaking change since if anyone has
.twig
and.html
templates of the same name, so I’ve made the swap for Craft 5 rather than 4.x. (3ca636e)