mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-17 05:21:36 +03:00
bb3cc8c0f8
closes #8082 - Update the `pickTemplate` logic to a) rely on getActive().hasTemplate() instead of being passed a list of paths b) support the concept of a fallback, which is returned if there is no theme, or if the theme doesn't have a more specific template - Update every instance of template picking, across the 3 internalApps, and render-channel, to use this new logic - update the tests |
||
---|---|---|
.. | ||
channel-config.js | ||
channels.js | ||
context.js | ||
error.js | ||
fetch-data.js | ||
format-response.js | ||
index.js | ||
post-lookup.js | ||
render-channel.js | ||
secure.js | ||
templates.js |