mirror of https://github.com/halo-dev/halo
Fix errors caused by ThemeService
parent
7060cc8046
commit
888c218643
|
@ -25,11 +25,6 @@ public class Theme implements Serializable {
|
||||||
*/
|
*/
|
||||||
private boolean hasOptions;
|
private boolean hasOptions;
|
||||||
|
|
||||||
/**
|
|
||||||
* Is internal theme
|
|
||||||
*/
|
|
||||||
private boolean isInternal;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Theme properties
|
* Theme properties
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -145,7 +145,7 @@ public class ThemeServiceImpl implements ThemeService {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public File getThemeBasePath() {
|
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");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue