Ghost/core/frontend/services/themes
Hannah Wolfe c02b0a19ac Used new default API version in theme engines
refs: 9f50e941eb
refs: bf0823c9a2

- Still working towards splitting the theme service into logical components
- The engine defaults were required in the index file, in a way that creates tight coupling across what would otherwise
be distinct components
- Also meant there was another hardcoded 'v4' in the codebase
- This fixes both issues by depending on the value from config
- Currently this adds Yet Another Config Require, but it should be fine for now until we have a new pattern for the frontend
- Note: We only care about the ghost-api engine, we used to care about both ghost and ghost-api. Now that there is only one there was no need for the more complex code structures
2021-04-21 18:08:17 +01:00
..
engines Used new default API version in theme engines 2021-04-21 18:08:17 +01:00
activate.js 🐛 Fixed incorrect locale loading when changing themes 2021-01-04 17:26:22 +13:00
active.js Moved theme config to new theme engine service 2021-04-21 14:21:32 +01:00
i18n.js 🐛 Fixed incorrect locale loading when changing themes 2021-01-04 17:26:22 +13:00
index.js Used new default API version in theme engines 2021-04-21 18:08:17 +01: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 @site.signup_url data property for themes (#12893) 2021-04-21 12:10:09 +01:00
preview.js 🐛 Fixed theme preview not decoding values properly 2021-03-01 11:54:50 +00:00
storage.js Fixed fs error during theme install deleting active theme (#12688) 2021-02-23 08:49:48 +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