mirror of https://github.com/halo-dev/halo
Create api for get custom template.
parent
82af70abcc
commit
105fb451af
|
@ -73,6 +73,11 @@ public class ThemeController {
|
||||||
themeService.saveTemplateContent(path, content);
|
themeService.saveTemplateContent(path, content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("files/custom")
|
||||||
|
public List<String> customTemplate(){
|
||||||
|
return themeService.getCustomTpl(HaloConst.ACTIVATED_THEME_NAME);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Active theme
|
* Active theme
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue