Ghost/core/server/apps/amp
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
..
lib Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00
tests Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00
index.js Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00