diff --git a/src/api/models/front.js b/src/api/models/front.js index 9cb32f5fe..93976dfc4 100644 --- a/src/api/models/front.js +++ b/src/api/models/front.js @@ -106,7 +106,9 @@ export const renderPublic = (themeId, data) => { }, theme: { cssVariable, - base: { href: data.themesHost ?? '' }, + base: { + href: `${data.themesHost ?? ''}/themes/${themeId ?? 'default'}`, + }, }, }; @@ -142,7 +144,9 @@ export const renderAdmin = (data) => { }, theme: { cssVariable, - base: { href: data.themesHost ?? '' }, + base: { + href: `${data.themesHost ?? ''}/themes/default`, + }, }, }; @@ -169,7 +173,7 @@ export const renderRootAdmin = (data) => { }, theme: { cssVariable, - base: { href: data.themesHost ?? '' }, + base: { href: `${data.themesHost ?? ''}/themes/default` }, }, }; diff --git a/src/app/custom/themes/default/index.ejs b/src/app/custom/themes/default/index.ejs index 16c073ac4..f253af26a 100755 --- a/src/app/custom/themes/default/index.ejs +++ b/src/app/custom/themes/default/index.ejs @@ -5,16 +5,16 @@ - - - - - + + + + + - + diff --git a/src/app/custom/themes/inist/index.ejs b/src/app/custom/themes/inist/index.ejs index 37cf166d5..ee6809c84 100644 --- a/src/app/custom/themes/inist/index.ejs +++ b/src/app/custom/themes/inist/index.ejs @@ -5,16 +5,16 @@ - - - - - + + + + + - - + + @@ -22,7 +22,7 @@
@@ -83,7 +83,7 @@