Change default file extension for Mustache templates
This commit changes the default file extension for Mustache templates, from `.html` to `.mustache`, which is the file extension used in the official reference documentation and by most IDE plugins. Fixes gh-8997
This commit is contained in:
@@ -30,7 +30,7 @@ public class MustacheProperties extends AbstractTemplateViewResolverProperties {
|
||||
|
||||
public static final String DEFAULT_PREFIX = "classpath:/templates/";
|
||||
|
||||
public static final String DEFAULT_SUFFIX = ".html";
|
||||
public static final String DEFAULT_SUFFIX = ".mustache";
|
||||
|
||||
/**
|
||||
* Prefix to apply to template names.
|
||||
|
||||
Reference in New Issue
Block a user