mirror of https://github.com/halo-dev/halo
Change page to sheet.
parent
af29d32df0
commit
df276066db
|
@ -172,7 +172,7 @@ public class ThemeServiceImpl implements ThemeService {
|
||||||
if (null != themeFiles && themeFiles.length > 0) {
|
if (null != themeFiles && themeFiles.length > 0) {
|
||||||
for (File file : themeFiles) {
|
for (File file : themeFiles) {
|
||||||
String[] split = StrUtil.removeSuffix(file.getName(), HaloConst.SUFFIX_FTL).split("_");
|
String[] split = StrUtil.removeSuffix(file.getName(), HaloConst.SUFFIX_FTL).split("_");
|
||||||
if (split.length == 2 && "page".equals(split[0])) {
|
if (split.length == 2 && "sheet".equals(split[0])) {
|
||||||
templates.add(StrUtil.removeSuffix(file.getName(), HaloConst.SUFFIX_FTL));
|
templates.add(StrUtil.removeSuffix(file.getName(), HaloConst.SUFFIX_FTL));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue