Ghost/core/frontend/services/themes
Hannah Wolfe a0bdba2516 Added theme preview mode
- Allow the frontend to accept post messages to generate previews of the frontend
- Created a new endpoint in admin we can use to render these previews, which is possibly not necessary
- Supports a limited group of settings, which can easily be expanded, but care should be taken if expanding to use user-provided strings
2021-02-17 13:49:41 +00:00
..
config Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
engines Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
handlebars Switched frontend i18n requires to go through proxy 2020-11-26 14:00:28 +00:00
activate.js 🐛 Fixed incorrect locale loading when changing themes 2021-01-04 17:26:22 +13:00
active.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
engine.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
i18n.js 🐛 Fixed incorrect locale loading when changing themes 2021-01-04 17:26:22 +13:00
index.js Added theme preview mode 2021-02-17 13:49:41 +00:00
list.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
loader.js Refactored package-json lib into a class 2020-11-25 09:19:35 +00:00
middleware.js Added theme preview mode 2021-02-17 13:49:41 +00:00
storage.js Switched frontend i18n requires to go through proxy 2020-11-26 14:00:28 +00:00
ThemeStorage.js Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
to-json.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
validate.js Switched frontend i18n requires to go through proxy 2020-11-26 14:00:28 +00:00