show error message for missing theme
This commit is contained in:
джерело
3a4deb9e0e
коміт
8d4af3894a
@ -267,6 +267,10 @@
|
||||
if (!themename) {
|
||||
themename = desi.site.theme || desi.config.theme;
|
||||
}
|
||||
if (!desi.config.themes[themename]) {
|
||||
console.error("'" + themename + "' was not found among the themes");
|
||||
return arr;
|
||||
}
|
||||
|
||||
// TODO NO DEFAULTS
|
||||
if ('__page__' === layoutname) {
|
||||
|
||||
Завантаження…
x
Посилання в новій задачі
Block a user