Fix errors caused by ThemeService

pull/137/head
ruibaby 2019-03-26 15:36:12 +08:00
parent 7060cc8046
commit 888c218643
3 changed files with 10 additions and 6 deletions

View File

@ -25,11 +25,6 @@ public class Theme implements Serializable {
*/
private boolean hasOptions;
/**
* Is internal theme
*/
private boolean isInternal;
/**
* Theme properties
*/

View File

@ -145,7 +145,7 @@ public class ThemeServiceImpl implements ThemeService {
*/
@Override
public File getThemeBasePath() {
return new File(System.getProperties().getProperty("user.home"), ".halo/templates/themes");
return new File(System.getProperties().getProperty("user.home"), "halo/templates/themes");
}
/**

View File

@ -0,0 +1,9 @@
theme.id=material
theme.name=Material
theme.website=https://github.com/viosey/hexo-theme-material
theme.description=Nature, Pure | 原质,纯粹
theme.logo=https://avatars0.githubusercontent.com/u/8141232?s=460&v=4
theme.version=1.0
theme.author=Viosey
theme.author.website=https://viosey.com/