Ghost/core/server/controllers/frontend
Hannah Wolfe bb3cc8c0f8 Reimplement custom theme templates (#8147)
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
2017-03-14 00:15:50 +01:00
..
channel-config.js 🎨 add urlFor('admin') and increase usage of urlFor helper (#7935) 2017-02-02 18:51:35 +00:00
channels.js 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
context.js 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
error.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
fetch-data.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
format-response.js Switch frontend controller to use new filter param 2015-10-26 09:40:19 +00:00
index.js Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00
post-lookup.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
render-channel.js Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00
secure.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
templates.js Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00